mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +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},
|
||||
parentID: this.tabletEntityID,
|
||||
script: "https://people.ucsc.edu/~druiz4/scripts/homeButton.js"
|
||||
}, clientOnly);
|
||||
}, clientOnly);
|
||||
|
||||
|
||||
setEntityCustomData('grabbableKey', this.homeButtonEntity, {wantsTrigger: true});
|
||||
|
@ -115,11 +115,11 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
|
|||
this.receive = function (channel, senderID, senderUUID, localOnly) {
|
||||
if (_this.homeButtonEntity == senderID) {
|
||||
if (_this.clicked) {
|
||||
Entities.editEntity(_this.homeButtonEntity, {color: {red: 0, green: 255, blue: 255}});
|
||||
_this.clicked = false;
|
||||
Entities.editEntity(_this.homeButtonEntity, {color: {red: 0, green: 255, blue: 255}});
|
||||
_this.clicked = false;
|
||||
} else {
|
||||
Entities.editEntity(_this.homeButtonEntity, {color: {red: 255, green: 255, blue: 0}});
|
||||
_this.clicked = true;
|
||||
Entities.editEntity(_this.homeButtonEntity, {color: {red: 255, green: 255, blue: 0}});
|
||||
_this.clicked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue