mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
changing highlighting percentage
This commit is contained in:
parent
7243160dac
commit
43b92299d6
2 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
//
|
||||
|
||||
/* global MyAvatar, Entities, Script, Camera, Vec3, Reticle, Overlays, getEntityCustomData, Messages, Quat, Controller,
|
||||
isInEditMode, HMD entityIsGrabbable, Picks, PickType, Pointers*/
|
||||
isInEditMode, HMD entityIsGrabbable, Picks, PickType, Pointers, unhighlightTargetEntity*/
|
||||
|
||||
|
||||
(function() { // BEGIN LOCAL_SCOPE
|
||||
|
@ -354,6 +354,7 @@ Grabber.prototype.pressEvent = function(event) {
|
|||
|
||||
Pointers.setRenderState(this.mouseRayEntities, "grabbed");
|
||||
Pointers.setLockEndUUID(this.mouseRayEntities, pickResults.objectID, false);
|
||||
unhighlightTargetEntity(pickResults.objectID);
|
||||
|
||||
mouse.startDrag(event);
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ DISPATCHER_HOVERING_STYLE = {
|
|||
outlineOccludedColor: {red: 255, green: 128, blue: 128},
|
||||
outlineOccludedAlpha:0.0,
|
||||
fillUnoccludedColor: {red: 255, green: 255, blue: 255},
|
||||
fillUnoccludedAlpha: 0.15,
|
||||
fillUnoccludedAlpha: 0.12,
|
||||
fillOccludedColor: {red: 255, green: 255, blue: 255},
|
||||
fillOccludedAlpha: 0.0
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue