ReaderTab constructor: Assign _contextPaneOpen from correct option

This commit is contained in:
Abe Jellinek 2025-05-09 10:38:45 -04:00
parent 1b61be71b9
commit e54665cf49

View file

@ -1242,7 +1242,7 @@ class ReaderTab extends ReaderInstance {
super(options);
this._sidebarWidth = options.sidebarWidth;
this._sidebarOpen = options.sidebarOpen;
this._contextPaneOpen = options.bottomPlaceholderHeight;
this._contextPaneOpen = options.contextPaneOpen;
this._bottomPlaceholderHeight = options.bottomPlaceholderHeight;
this._showContextPaneToggle = true;
this._onToggleSidebarCallback = options.onToggleSidebar;