mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:57:23 +02:00
button was clipped; adding higher res img
This commit is contained in:
parent
9a657559ef
commit
db1acb87b8
2 changed files with 5 additions and 5 deletions
BIN
interface/resources/images/interstitialPage/goTo_button.png
Normal file
BIN
interface/resources/images/interstitialPage/goTo_button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9 KiB |
|
@ -137,10 +137,10 @@
|
||||||
|
|
||||||
var loadingToTheSpotID = Overlays.addOverlay("image3d", {
|
var loadingToTheSpotID = Overlays.addOverlay("image3d", {
|
||||||
name: "Loading-Destination-Card-Text",
|
name: "Loading-Destination-Card-Text",
|
||||||
localPosition: { x: 0.0 , y: -1.8, z: 0.0 },
|
localPosition: { x: 0.0 , y: -1.5, z: -0.3 },
|
||||||
url: "http://hifi-content.s3.amazonaws.com/alexia/LoadingScreens/goTo_button.png",
|
url: Script.resourcesPath() + "interstitialPage/goTo_button.png",
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
dimensions: { x: 1.2, y: 0.6},
|
dimensions: { x: 1.5, y: 1.0 },
|
||||||
visible: isVisible,
|
visible: isVisible,
|
||||||
emissive: true,
|
emissive: true,
|
||||||
ignoreRayIntersection: false,
|
ignoreRayIntersection: false,
|
||||||
|
@ -415,13 +415,13 @@
|
||||||
Overlays.mouseReleaseOnOverlay.connect(clickedOnOverlay);
|
Overlays.mouseReleaseOnOverlay.connect(clickedOnOverlay);
|
||||||
Overlays.hoverEnterOverlay.connect(function(overlayID, event) {
|
Overlays.hoverEnterOverlay.connect(function(overlayID, event) {
|
||||||
if (overlayID === loadingToTheSpotID) {
|
if (overlayID === loadingToTheSpotID) {
|
||||||
Overlays.editOverlay(loadingToTheSpotID, { color: greyColor});
|
Overlays.editOverlay(loadingToTheSpotID, { color: greyColor });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Overlays.hoverLeaveOverlay.connect(function(overlayID, event) {
|
Overlays.hoverLeaveOverlay.connect(function(overlayID, event) {
|
||||||
if (overlayID === loadingToTheSpotID) {
|
if (overlayID === loadingToTheSpotID) {
|
||||||
Overlays.editOverlay(loadingToTheSpotID, { color: whiteColor});
|
Overlays.editOverlay(loadingToTheSpotID, { color: whiteColor });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue