mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01: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 VIRCADIA_PUBLIC_CDN = networkingConstants.PUBLIC_BUCKET_CDN_URL;
|
||||
|
||||
var SLIDER_RANGE_INCREMENT_SCALE = 1 / 1000;
|
||||
var THUMB_COLOR = {
|
||||
|
@ -785,7 +784,7 @@ var CHECK_MARK_COLOR = {
|
|||
green: 255,
|
||||
blue: 255
|
||||
},
|
||||
imageURL: VIRCADIA_PUBLIC_CDN + 'images/tools/expand-ui.svg',
|
||||
imageURL: ExternalResource.getUrl(ExternalResource.Assets, 'images/tools/expand-ui.svg'),
|
||||
x: x,
|
||||
y: y,
|
||||
width: rawHeight,
|
||||
|
@ -1148,13 +1147,13 @@ var CHECK_MARK_COLOR = {
|
|||
|
||||
if (!item.isCollapsed && item.isCollapsable && clickedOverlay == 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);
|
||||
item.isCollapsed = true;
|
||||
} else if (item.isCollapsed && item.isCollapsable && clickedOverlay == 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);
|
||||
item.isCollapsed = false;
|
||||
|
|
|
@ -9,6 +9,5 @@
|
|||
//
|
||||
|
||||
var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
||||
var VIRCADIA_PUBLIC_CDN = networkingConstants.PUBLIC_BUCKET_CDN_URL;
|
||||
|
||||
isInterstitialOverlaysVisible = false;
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
//
|
||||
|
||||
var var networkingConstants = Script.require("/~/system/libraries/networkingConstants.js");
|
||||
var VIRCADIA_PUBLIC_CDN = networkingConstants.PUBLIC_BUCKET_CDN_URL;
|
||||
var toolIconUrl = VIRCADIA_PUBLIC_CDN + "images/tools/";
|
||||
var toolIconUrl = ExternalResource.getUrl(ExternalResource.Assets, "images/tools/");
|
||||
|
||||
progressDialog = (function () {
|
||||
var that = {},
|
||||
|
|
Loading…
Reference in a new issue