mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:55:01 +02:00
remove some cruft
This commit is contained in:
parent
369f61e172
commit
e06a445959
1 changed files with 1 additions and 10 deletions
|
@ -23,8 +23,7 @@
|
|||
function showTabletUI() {
|
||||
tabletShown = true;
|
||||
print("show tablet-ui");
|
||||
// var toolBar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");
|
||||
UIWebTablet = new WebTablet("qml/desktop/TabletUI.qml", null, null, tabletLocation);
|
||||
UIWebTablet = new WebTablet("qml/hifi/tablet/Tablet.qml", null, null, tabletLocation);
|
||||
HMD.tabletID = UIWebTablet.webEntityID;
|
||||
|
||||
var setUpTabletUI = function() {
|
||||
|
@ -35,13 +34,6 @@
|
|||
return;
|
||||
}
|
||||
print("HERE got root", root);
|
||||
var buttons = Toolbars.getToolbarButtons("com.highfidelity.interface.toolbar.system");
|
||||
print("HERE got buttons: ", buttons.length);
|
||||
for (var i = 0; i < buttons.length; i++) {
|
||||
print("HERE hooking up button: ", buttons[i].objectName);
|
||||
Toolbars.hookUpButtonClone("com.highfidelity.interface.toolbar.system", root, buttons[i]);
|
||||
}
|
||||
// UserActivityLogger.openedTabletUI();
|
||||
}
|
||||
|
||||
Script.setTimeout(setUpTabletUI, 100);
|
||||
|
@ -54,7 +46,6 @@
|
|||
if (UIWebTablet.onClose) {
|
||||
UIWebTablet.onClose();
|
||||
}
|
||||
Toolbars.destroyButtonClones("com.highfidelity.interface.toolbar.system");
|
||||
|
||||
tabletLocation = UIWebTablet.getLocation();
|
||||
UIWebTablet.destroy();
|
||||
|
|
Loading…
Reference in a new issue