mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 03:13:18 +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() {
|
function showTabletUI() {
|
||||||
tabletShown = true;
|
tabletShown = true;
|
||||||
print("show tablet-ui");
|
print("show tablet-ui");
|
||||||
// var toolBar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");
|
UIWebTablet = new WebTablet("qml/hifi/tablet/Tablet.qml", null, null, tabletLocation);
|
||||||
UIWebTablet = new WebTablet("qml/desktop/TabletUI.qml", null, null, tabletLocation);
|
|
||||||
HMD.tabletID = UIWebTablet.webEntityID;
|
HMD.tabletID = UIWebTablet.webEntityID;
|
||||||
|
|
||||||
var setUpTabletUI = function() {
|
var setUpTabletUI = function() {
|
||||||
|
@ -35,13 +34,6 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
print("HERE got root", root);
|
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);
|
Script.setTimeout(setUpTabletUI, 100);
|
||||||
|
@ -54,7 +46,6 @@
|
||||||
if (UIWebTablet.onClose) {
|
if (UIWebTablet.onClose) {
|
||||||
UIWebTablet.onClose();
|
UIWebTablet.onClose();
|
||||||
}
|
}
|
||||||
Toolbars.destroyButtonClones("com.highfidelity.interface.toolbar.system");
|
|
||||||
|
|
||||||
tabletLocation = UIWebTablet.getLocation();
|
tabletLocation = UIWebTablet.getLocation();
|
||||||
UIWebTablet.destroy();
|
UIWebTablet.destroy();
|
||||||
|
|
Loading…
Reference in a new issue