diff --git a/examples/edit.js b/examples/edit.js index c236336266..7630ca1b14 100644 --- a/examples/edit.js +++ b/examples/edit.js @@ -110,6 +110,10 @@ var importingSVOOverlay = Overlays.addOverlay("text", { visible: false, }); +var MARKETPLACE_URL = "https://metaverse.highfidelity.io/marketplace"; +var marketplaceWindow = new WebWindow('Marketplace', MARKETPLACE_URL, 900, 700, false); +marketplaceWindow.setVisible(false); + var toolBar = (function () { var that = {}, toolBar, @@ -311,7 +315,7 @@ var toolBar = (function () { return true; } if (browseModelsButton === toolBar.clicked(clickedOverlay)) { - browseModelsButtonDown = true; + marketplaceWindow.setVisible(true); return true; } @@ -989,7 +993,7 @@ PropertiesTool = function(opts) { var that = {}; var url = Script.resolvePath('html/entityProperties.html'); - var webView = new WebWindow('Entity Properties', url, 200, 280); + var webView = new WebWindow('Entity Properties', url, 200, 280, true); var visible = false; diff --git a/examples/libraries/entityList.js b/examples/libraries/entityList.js index 942edf18b6..d0b8ddac7f 100644 --- a/examples/libraries/entityList.js +++ b/examples/libraries/entityList.js @@ -2,7 +2,7 @@ EntityListTool = function(opts) { var that = {}; var url = Script.resolvePath('html/entityList.html'); - var webView = new WebWindow('Entities', url, 200, 280); + var webView = new WebWindow('Entities', url, 200, 280, true); var visible = false; diff --git a/examples/libraries/gridTool.js b/examples/libraries/gridTool.js index 6e16186abc..ed4e999be8 100644 --- a/examples/libraries/gridTool.js +++ b/examples/libraries/gridTool.js @@ -229,7 +229,7 @@ GridTool = function(opts) { var listeners = []; var url = Script.resolvePath('html/gridControls.html'); - var webView = new WebWindow('Grid', url, 200, 280); + var webView = new WebWindow('Grid', url, 200, 280, true); horizontalGrid.addListener(function(data) { webView.eventBridge.emitScriptEvent(JSON.stringify(data));