removed commented code

This commit is contained in:
Dante Ruiz 2016-12-20 15:46:15 +00:00
parent fc4b4f85f4
commit 74092d8714
3 changed files with 2 additions and 17 deletions

View file

@ -1,3 +1,4 @@
"use strict";
//

View file

@ -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();
});

View file

@ -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);