mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Made drag selection area bigger for marketplace and directory icons. Added marketplace.js to default scripts
This commit is contained in:
parent
a66bc791a3
commit
8182372e02
3 changed files with 5 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
Script.load("away.js");
|
Script.load("away.js");
|
||||||
Script.load("progress.js");
|
Script.load("progress.js");
|
||||||
Script.load("edit.js");
|
Script.load("edit.js");
|
||||||
|
Script.load("marketplace.js");
|
||||||
Script.load("selectAudioDevice.js");
|
Script.load("selectAudioDevice.js");
|
||||||
Script.load("inspect.js");
|
Script.load("inspect.js");
|
||||||
Script.load("notifications.js");
|
Script.load("notifications.js");
|
||||||
|
|
|
@ -53,10 +53,11 @@ var toolBar = (function() {
|
||||||
browseDirectoryButton;
|
browseDirectoryButton;
|
||||||
|
|
||||||
function initialize() {
|
function initialize() {
|
||||||
|
ToolBar.SPACING = 16;
|
||||||
toolBar = new ToolBar(0, 0, ToolBar.VERTICAL, "highfidelity.directory.toolbar", function(windowDimensions, toolbar) {
|
toolBar = new ToolBar(0, 0, ToolBar.VERTICAL, "highfidelity.directory.toolbar", function(windowDimensions, toolbar) {
|
||||||
return {
|
return {
|
||||||
x: windowDimensions.x - 8 - toolbar.width,
|
x: windowDimensions.x - 8 - toolbar.width,
|
||||||
y: 100
|
y: 50
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
browseDirectoryButton = toolBar.addTool({
|
browseDirectoryButton = toolBar.addTool({
|
||||||
|
|
|
@ -58,10 +58,11 @@ var toolBar = (function() {
|
||||||
browseMarketplaceButton;
|
browseMarketplaceButton;
|
||||||
|
|
||||||
function initialize() {
|
function initialize() {
|
||||||
|
ToolBar.SPACING = 16;
|
||||||
toolBar = new ToolBar(0, 0, ToolBar.VERTICAL, "highfidelity.marketplace.toolbar", function(windowDimensions, toolbar) {
|
toolBar = new ToolBar(0, 0, ToolBar.VERTICAL, "highfidelity.marketplace.toolbar", function(windowDimensions, toolbar) {
|
||||||
return {
|
return {
|
||||||
x: windowDimensions.x - 8 - toolbar.width,
|
x: windowDimensions.x - 8 - toolbar.width,
|
||||||
y: 150
|
y: 135
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
browseMarketplaceButton = toolBar.addTool({
|
browseMarketplaceButton = toolBar.addTool({
|
||||||
|
|
Loading…
Reference in a new issue