Fix Svelte regressions related to some input widgets

This commit is contained in:
Keavon Chambers
2023-02-19 22:57:43 -08:00
parent ef7d0eca18
commit 7b86af99bd
8 changed files with 80 additions and 93 deletions
@@ -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) => {