mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Have panels collapsed by default
This commit is contained in:
parent
acb9e2774e
commit
0603ead972
1 changed files with 6 additions and 0 deletions
|
@ -156,3 +156,9 @@ function scriptEnding() {
|
|||
Scene.setEngineDeferredDebugSize({ x: 0.0, y: -1.0, z: 1.0, w: 1.0 }); // Reset to default size
|
||||
}
|
||||
Script.scriptEnding.connect(scriptEnding);
|
||||
|
||||
|
||||
// Collapse items
|
||||
panel.mousePressEvent({ x: panel.x, y: panel.items["Overlays"].y});
|
||||
panel.mousePressEvent({ x: panel.x, y: panel.items["Transparents"].y});
|
||||
panel.mousePressEvent({ x: panel.x, y: panel.items["Opaques"].y});
|
||||
|
|
Loading…
Reference in a new issue