mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 14:18:12 +08:00
Fix Svelte regressions related to some input widgets
This commit is contained in:
@@ -1232,7 +1232,7 @@ export function defaultWidgetLayout(): WidgetLayout {
|
||||
}
|
||||
|
||||
// Updates a widget layout based on a list of updates, returning the new layout
|
||||
export function patchWidgetLayout(layout: WidgetLayout, updates: WidgetDiffUpdate): void {
|
||||
export function patchWidgetLayout(/* mut */ layout: WidgetLayout, updates: WidgetDiffUpdate): void {
|
||||
layout.layoutTarget = updates.layoutTarget;
|
||||
|
||||
updates.diff.forEach((update) => {
|
||||
|
||||
Reference in New Issue
Block a user