Skip to content

Commit b4ebc45

Browse files
committed
wip
1 parent 99b3834 commit b4ebc45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/viewer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ class TrackableViewerState extends CompoundTrackable {
288288
this.add("selectedStateServer", viewer.selectedStateServer);
289289
this.add("toolBindings", viewer.toolBinder);
290290
this.add("toolPalettes", viewer.toolPalettes);
291+
this.add("hideLayerPanel", viewer.hideLayerPanelState);
291292

292293
// Add UI configuration to state for persistence
293294
for (const key of VIEWER_UI_CONFIG_OPTIONS) {
@@ -443,6 +444,7 @@ export class Viewer extends RefCounted implements ViewerState {
443444
partialViewport = new TrackableWindowedViewport();
444445
statisticsDisplayState = new StatisticsDisplayState();
445446
helpPanelState = new HelpPanelState();
447+
hideLayerPanelState = new TrackableBoolean(false, false);
446448
settingsPanelState = new ViewerSettingsPanelState();
447449
layerSelectedValues = this.registerDisposer(
448450
new LayerSelectedValues(this.layerManager, this.mouseState),

0 commit comments

Comments
 (0)