Skip to content

Commit 1ef66c3

Browse files
committed
format fix
1 parent 2893597 commit 1ef66c3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/ui/layer_list_panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export class LayerListPanel extends SidePanel {
359359
toggleButton.element.style.order = "50"; // Position before close button (order: 100)
360360
titleBar.appendChild(toggleButton.element);
361361
this.registerDisposer(toggleButton);
362-
362+
363363
// Watch for showLayerPanel configuration changes and hide/show button accordingly
364364
this.registerDisposer(
365365
this.showLayerPanel.changed.add(() => {

src/viewer.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ export class Viewer extends RefCounted implements ViewerState {
563563

564564
this.dataSourceProvider = dataSourceProvider;
565565
this.uiConfiguration = uiConfiguration;
566-
566+
567567
// Create effective showLayerPanel state that combines configuration and user preference
568568
this.effectiveShowLayerPanel = this.registerDisposer(
569569
makeDerivedWatchableValue(
@@ -573,9 +573,8 @@ export class Viewer extends RefCounted implements ViewerState {
573573
},
574574
this.uiConfiguration.showLayerPanel,
575575
this.hideLayerPanelState,
576-
)
576+
),
577577
);
578-
579578

580579
this.registerDisposer(
581580
observeWatchable((value) => {

0 commit comments

Comments
 (0)