mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
Merge upstream/main into pr/panel-resize
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
commit
11603729dc
234 files changed
+45360
-944
No files matched your search
@@ -202,6 +202,14 @@ export class PanelPositionControls {
|
||||
// choice still wins in both directions, so anyone who opens it keeps it.
|
||||
if (panelId === 'pp-toggles' && stored === null) collapsed = true;
|
||||
panelEl.classList.toggle('collapsed', collapsed);
|
||||
// Bodies that expand themselves on first appearance must not override a
|
||||
// choice the user (or a share link) already made.
|
||||
if (panelEl.dataset)
|
||||
panelEl.dataset.collapsedPreference = !allowStored
|
||||
? 'share'
|
||||
: stored === null
|
||||
? 'default'
|
||||
: 'stored';
|
||||
this._syncPanelCollapseButton(panelEl);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user