From 8182372e02ec9550ec81506278516c48e6e1400f Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Mon, 11 Jan 2016 08:39:34 -0800 Subject: [PATCH] Made drag selection area bigger for marketplace and directory icons. Added marketplace.js to default scripts --- examples/defaultScripts.js | 1 + examples/directory.js | 3 ++- examples/marketplace.js | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/defaultScripts.js b/examples/defaultScripts.js index f06af70fb3..443e4b3bf8 100644 --- a/examples/defaultScripts.js +++ b/examples/defaultScripts.js @@ -11,6 +11,7 @@ Script.load("away.js"); Script.load("progress.js"); Script.load("edit.js"); +Script.load("marketplace.js"); Script.load("selectAudioDevice.js"); Script.load("inspect.js"); Script.load("notifications.js"); diff --git a/examples/directory.js b/examples/directory.js index 69db3a4d89..a18442747f 100644 --- a/examples/directory.js +++ b/examples/directory.js @@ -53,10 +53,11 @@ var toolBar = (function() { browseDirectoryButton; function initialize() { + ToolBar.SPACING = 16; toolBar = new ToolBar(0, 0, ToolBar.VERTICAL, "highfidelity.directory.toolbar", function(windowDimensions, toolbar) { return { x: windowDimensions.x - 8 - toolbar.width, - y: 100 + y: 50 }; }); browseDirectoryButton = toolBar.addTool({ diff --git a/examples/marketplace.js b/examples/marketplace.js index 4583492c58..83f1287ed8 100644 --- a/examples/marketplace.js +++ b/examples/marketplace.js @@ -58,10 +58,11 @@ var toolBar = (function() { browseMarketplaceButton; function initialize() { + ToolBar.SPACING = 16; toolBar = new ToolBar(0, 0, ToolBar.VERTICAL, "highfidelity.marketplace.toolbar", function(windowDimensions, toolbar) { return { x: windowDimensions.x - 8 - toolbar.width, - y: 150 + y: 135 }; }); browseMarketplaceButton = toolBar.addTool({