mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 01:10:12 +02:00
Adjust marketplace window size
This commit is contained in:
parent
edaee9716b
commit
905de8b03c
3 changed files with 8 additions and 4 deletions
|
@ -110,6 +110,10 @@ var importingSVOOverlay = Overlays.addOverlay("text", {
|
||||||
visible: false,
|
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 toolBar = (function () {
|
||||||
var that = {},
|
var that = {},
|
||||||
toolBar,
|
toolBar,
|
||||||
|
@ -311,7 +315,7 @@ var toolBar = (function () {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (browseModelsButton === toolBar.clicked(clickedOverlay)) {
|
if (browseModelsButton === toolBar.clicked(clickedOverlay)) {
|
||||||
browseModelsButtonDown = true;
|
marketplaceWindow.setVisible(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -989,7 +993,7 @@ PropertiesTool = function(opts) {
|
||||||
var that = {};
|
var that = {};
|
||||||
|
|
||||||
var url = Script.resolvePath('html/entityProperties.html');
|
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;
|
var visible = false;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ EntityListTool = function(opts) {
|
||||||
var that = {};
|
var that = {};
|
||||||
|
|
||||||
var url = Script.resolvePath('html/entityList.html');
|
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;
|
var visible = false;
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ GridTool = function(opts) {
|
||||||
var listeners = [];
|
var listeners = [];
|
||||||
|
|
||||||
var url = Script.resolvePath('html/gridControls.html');
|
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) {
|
horizontalGrid.addListener(function(data) {
|
||||||
webView.eventBridge.emitScriptEvent(JSON.stringify(data));
|
webView.eventBridge.emitScriptEvent(JSON.stringify(data));
|
||||||
|
|
Loading…
Reference in a new issue