Merge pull request #8844 from huffman/fix/hud-position

Update default system toolbar position
This commit is contained in:
Howard Stearns 2016-10-20 16:07:20 -07:00 committed by GitHub
commit 0eee6f8abd

View file

@ -51,9 +51,10 @@ OriginalDesktop.Desktop {
Toolbar {
id: sysToolbar;
objectName: "com.highfidelity.interface.toolbar.system";
// Magic: sysToolbar.x and y come from settings, and are bound before the properties specified here are applied.
x: sysToolbar.x;
y: sysToolbar.y;
// These values will be overridden by sysToolbar.x/y if there is a saved position in Settings
// On exit, the sysToolbar position is saved to settings
x: 30
y: 50
}
property var toolbars: (function (map) { // answer dictionary preloaded with sysToolbar
map[sysToolbar.objectName] = sysToolbar;