mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:58:03 +02:00
remmoved tabs as whitespace
This commit is contained in:
parent
a0a8ecc158
commit
cb4b2473e1
1 changed files with 5 additions and 5 deletions
|
@ -105,7 +105,7 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
|
||||||
dimensions: {x: 0.05, y: 0.05, z: 0.05},
|
dimensions: {x: 0.05, y: 0.05, z: 0.05},
|
||||||
parentID: this.tabletEntityID,
|
parentID: this.tabletEntityID,
|
||||||
script: "https://people.ucsc.edu/~druiz4/scripts/homeButton.js"
|
script: "https://people.ucsc.edu/~druiz4/scripts/homeButton.js"
|
||||||
}, clientOnly);
|
}, clientOnly);
|
||||||
|
|
||||||
|
|
||||||
setEntityCustomData('grabbableKey', this.homeButtonEntity, {wantsTrigger: true});
|
setEntityCustomData('grabbableKey', this.homeButtonEntity, {wantsTrigger: true});
|
||||||
|
@ -115,11 +115,11 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
|
||||||
this.receive = function (channel, senderID, senderUUID, localOnly) {
|
this.receive = function (channel, senderID, senderUUID, localOnly) {
|
||||||
if (_this.homeButtonEntity == senderID) {
|
if (_this.homeButtonEntity == senderID) {
|
||||||
if (_this.clicked) {
|
if (_this.clicked) {
|
||||||
Entities.editEntity(_this.homeButtonEntity, {color: {red: 0, green: 255, blue: 255}});
|
Entities.editEntity(_this.homeButtonEntity, {color: {red: 0, green: 255, blue: 255}});
|
||||||
_this.clicked = false;
|
_this.clicked = false;
|
||||||
} else {
|
} else {
|
||||||
Entities.editEntity(_this.homeButtonEntity, {color: {red: 255, green: 255, blue: 0}});
|
Entities.editEntity(_this.homeButtonEntity, {color: {red: 255, green: 255, blue: 0}});
|
||||||
_this.clicked = true;
|
_this.clicked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue