mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 10:02:12 +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";
|
||||
|
||||
//
|
||||
|
|
|
@ -235,15 +235,7 @@ var toolBar = (function () {
|
|||
activeButton = tablet.addButton({
|
||||
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() {
|
||||
that.toggle();
|
||||
});
|
||||
|
|
|
@ -54,14 +54,6 @@ function onClicked(){
|
|||
Menu.setIsOptionChecked(isDesktop ? headset : desktopMenuItemName, true);
|
||||
}
|
||||
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({
|
||||
text: "SWITCH"});
|
||||
onHmdChanged(HMD.active);
|
||||
|
|
Loading…
Reference in a new issue