mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
Merge pull request #8844 from huffman/fix/hud-position
Update default system toolbar position
This commit is contained in:
commit
0eee6f8abd
1 changed files with 4 additions and 3 deletions
|
@ -51,9 +51,10 @@ OriginalDesktop.Desktop {
|
||||||
Toolbar {
|
Toolbar {
|
||||||
id: sysToolbar;
|
id: sysToolbar;
|
||||||
objectName: "com.highfidelity.interface.toolbar.system";
|
objectName: "com.highfidelity.interface.toolbar.system";
|
||||||
// Magic: sysToolbar.x and y come from settings, and are bound before the properties specified here are applied.
|
// These values will be overridden by sysToolbar.x/y if there is a saved position in Settings
|
||||||
x: sysToolbar.x;
|
// On exit, the sysToolbar position is saved to settings
|
||||||
y: sysToolbar.y;
|
x: 30
|
||||||
|
y: 50
|
||||||
}
|
}
|
||||||
property var toolbars: (function (map) { // answer dictionary preloaded with sysToolbar
|
property var toolbars: (function (map) { // answer dictionary preloaded with sysToolbar
|
||||||
map[sysToolbar.objectName] = sysToolbar;
|
map[sysToolbar.objectName] = sysToolbar;
|
||||||
|
|
Loading…
Reference in a new issue