mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:43:21 +02:00
Update active scripts.
This commit is contained in:
parent
0d08254a07
commit
a95c457499
3 changed files with 4 additions and 7 deletions
|
@ -11,7 +11,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
||||||
var VIRCADIA_PUBLIC_CDN = networkingConstants.PUBLIC_BUCKET_CDN_URL;
|
|
||||||
|
|
||||||
var SLIDER_RANGE_INCREMENT_SCALE = 1 / 1000;
|
var SLIDER_RANGE_INCREMENT_SCALE = 1 / 1000;
|
||||||
var THUMB_COLOR = {
|
var THUMB_COLOR = {
|
||||||
|
@ -785,7 +784,7 @@ var CHECK_MARK_COLOR = {
|
||||||
green: 255,
|
green: 255,
|
||||||
blue: 255
|
blue: 255
|
||||||
},
|
},
|
||||||
imageURL: VIRCADIA_PUBLIC_CDN + 'images/tools/expand-ui.svg',
|
imageURL: ExternalResource.getUrl(ExternalResource.Assets, 'images/tools/expand-ui.svg'),
|
||||||
x: x,
|
x: x,
|
||||||
y: y,
|
y: y,
|
||||||
width: rawHeight,
|
width: rawHeight,
|
||||||
|
@ -1148,13 +1147,13 @@ var CHECK_MARK_COLOR = {
|
||||||
|
|
||||||
if (!item.isCollapsed && item.isCollapsable && clickedOverlay == item.thumb) {
|
if (!item.isCollapsed && item.isCollapsable && clickedOverlay == item.thumb) {
|
||||||
Overlays.editOverlay(item.thumb, {
|
Overlays.editOverlay(item.thumb, {
|
||||||
imageURL: VIRCADIA_PUBLIC_CDN + 'images/tools/expand-right.svg'
|
imageURL: ExternalResource.getUrl(ExternalResource.Assets, 'images/tools/expand-right.svg')
|
||||||
});
|
});
|
||||||
this.collapse(clickedOverlay);
|
this.collapse(clickedOverlay);
|
||||||
item.isCollapsed = true;
|
item.isCollapsed = true;
|
||||||
} else if (item.isCollapsed && item.isCollapsable && clickedOverlay == item.thumb) {
|
} else if (item.isCollapsed && item.isCollapsable && clickedOverlay == item.thumb) {
|
||||||
Overlays.editOverlay(item.thumb, {
|
Overlays.editOverlay(item.thumb, {
|
||||||
imageURL: VIRCADIA_PUBLIC_CDN + 'images/tools/expand-ui.svg'
|
imageURL: ExternalResource.getUrl(ExternalResource.Assets, 'images/tools/expand-ui.svg')
|
||||||
});
|
});
|
||||||
this.expand(clickedOverlay);
|
this.expand(clickedOverlay);
|
||||||
item.isCollapsed = false;
|
item.isCollapsed = false;
|
||||||
|
|
|
@ -9,6 +9,5 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
||||||
var VIRCADIA_PUBLIC_CDN = networkingConstants.PUBLIC_BUCKET_CDN_URL;
|
|
||||||
|
|
||||||
isInterstitialOverlaysVisible = false;
|
isInterstitialOverlaysVisible = false;
|
||||||
|
|
|
@ -9,8 +9,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
var var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
var var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
||||||
var VIRCADIA_PUBLIC_CDN = networkingConstants.PUBLIC_BUCKET_CDN_URL;
|
var toolIconUrl = ExternalResource.getUrl(ExternalResource.Assets, "images/tools/");
|
||||||
var toolIconUrl = VIRCADIA_PUBLIC_CDN + "images/tools/";
|
|
||||||
|
|
||||||
progressDialog = (function () {
|
progressDialog = (function () {
|
||||||
var that = {},
|
var that = {},
|
||||||
|
|
Loading…
Reference in a new issue