diff --git a/scripts/system/bubble.js b/scripts/system/bubble.js index 74f6588366..5fba01540f 100644 --- a/scripts/system/bubble.js +++ b/scripts/system/bubble.js @@ -1,3 +1,4 @@ + "use strict"; // diff --git a/scripts/system/edit.js b/scripts/system/edit.js index 04f618b627..d25482008d 100644 --- a/scripts/system/edit.js +++ b/scripts/system/edit.js @@ -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(); }); diff --git a/scripts/system/hmd.js b/scripts/system/hmd.js index a95443488e..27b5ed9829 100644 --- a/scripts/system/hmd.js +++ b/scripts/system/hmd.js @@ -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);