mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-03 17:11:34 +02:00
removed commented code
This commit is contained in:
parent
fc4b4f85f4
commit
74092d8714
3 changed files with 2 additions and 17 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -235,15 +235,7 @@ var toolBar = (function () {
|
||||||
activeButton = tablet.addButton({
|
activeButton = tablet.addButton({
|
||||||
text: "EDIT"
|
text: "EDIT"
|
||||||
});
|
});
|
||||||
/*activeButton = systemToolbar.addButton({
|
|
||||||
objectName: EDIT_TOGGLE_BUTTON,
|
|
||||||
imageURL: TOOLS_PATH + "edit.svg",
|
|
||||||
visible: true,
|
|
||||||
alpha: 0.9,
|
|
||||||
buttonState: 1,
|
|
||||||
hoverState: 3,
|
|
||||||
defaultState: 1
|
|
||||||
});*/
|
|
||||||
activeButton.clicked.connect(function() {
|
activeButton.clicked.connect(function() {
|
||||||
that.toggle();
|
that.toggle();
|
||||||
});
|
});
|
||||||
|
|
|
@ -54,14 +54,6 @@ function onClicked(){
|
||||||
Menu.setIsOptionChecked(isDesktop ? headset : desktopMenuItemName, true);
|
Menu.setIsOptionChecked(isDesktop ? headset : desktopMenuItemName, true);
|
||||||
}
|
}
|
||||||
if (headset) {
|
if (headset) {
|
||||||
/*button = toolBar.addButton({
|
|
||||||
objectName: "hmdToggle",
|
|
||||||
imageURL: Script.resolvePath("assets/images/tools/switch.svg"),
|
|
||||||
visible: true,
|
|
||||||
hoverState: 2,
|
|
||||||
defaultState: 0,
|
|
||||||
alpha: 0.9
|
|
||||||
});*/
|
|
||||||
button = tablet.addButton({
|
button = tablet.addButton({
|
||||||
text: "SWITCH"});
|
text: "SWITCH"});
|
||||||
onHmdChanged(HMD.active);
|
onHmdChanged(HMD.active);
|
||||||
|
|
Loading…
Reference in a new issue