mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Merge main (d49d3d10) into the renderer branch
This commit is contained in:
commit
489c316556
134 files changed
+4980
-229
No files matched your search
@@ -191,7 +191,11 @@ export class PanelLayoutController {
|
||||
const stack = this._rightPanelStack;
|
||||
if (!stack || !this._ppToggles) return;
|
||||
|
||||
stack.prepend(this._ppToggles);
|
||||
// Visual (presets and display settings) is the last panel of the left
|
||||
// column, after the other tools, and opens from the left rail like them.
|
||||
if (typeof this._leftPanelStack?.append === 'function')
|
||||
this._leftPanelStack.append(this._ppToggles);
|
||||
else stack.prepend(this._ppToggles);
|
||||
const globalContextPanel = document.getElementById('global-context-panel');
|
||||
for (const panel of [
|
||||
this._cctvPanel,
|
||||
@@ -203,6 +207,9 @@ export class PanelLayoutController {
|
||||
if (!panel) continue;
|
||||
stack.insertBefore(panel, globalContextPanel);
|
||||
}
|
||||
// Context leads the right column: it is the panel for whatever is picked,
|
||||
// and the camera panels follow it.
|
||||
if (globalContextPanel) stack.prepend(globalContextPanel);
|
||||
if (typeof ResizeObserver !== 'undefined') {
|
||||
this._rightStackResizeObserver = new ResizeObserver(() => {
|
||||
this._scheduleRightPanelLayout();
|
||||
|
||||
Reference in new issue
Block a user