diff --git a/examples/directory.js b/examples/directory.js index 9a58ef7963..243811c8d4 100644 --- a/examples/directory.js +++ b/examples/directory.js @@ -71,6 +71,7 @@ var toolBar = (function() { height: toolHeight, alpha: 0.9, visible: true, + showButtonDown: true }); toolBar.showTool(browseDirectoryButton, true); diff --git a/examples/edit.js b/examples/edit.js index b545b23564..541c684ca7 100644 --- a/examples/edit.js +++ b/examples/edit.js @@ -215,6 +215,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -229,6 +230,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -243,6 +245,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -257,6 +260,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -271,6 +275,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -285,6 +290,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -299,6 +305,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); @@ -313,6 +320,7 @@ var toolBar = (function() { width: toolWidth, height: toolHeight, alpha: 0.9, + showButtonDown: true, visible: false }); diff --git a/examples/libraries/toolBars.js b/examples/libraries/toolBars.js index 73c150e107..3b712e2ea0 100644 --- a/examples/libraries/toolBars.js +++ b/examples/libraries/toolBars.js @@ -126,7 +126,7 @@ Tool = function(properties, selectable, selected) { // selectable and selected a if (update) { if (selectable) { this.toggle(); - } else { + } else if (properties.showButtonDown) { this.buttonDown(true); } } diff --git a/examples/marketplace.js b/examples/marketplace.js index 731b195adb..146e55c496 100644 --- a/examples/marketplace.js +++ b/examples/marketplace.js @@ -76,6 +76,7 @@ var toolBar = (function() { height: toolHeight, alpha: 0.9, visible: true, + showButtonDown: true }); toolBar.showTool(browseMarketplaceButton, true);