History

saving work

druiz17 committed 9 years ago

Commit 20918641 parent da3d5a96 files · +36 −3Browse files

Showing the changes to scripts/system/controllers/controllerModules (1 of 6 files). Show all

Unified · Split

scripts/system/controllers/controllerModules/hudOverlayPointer.js+2−2
@@ -178,11 +178,11 @@ · 177 unmodified lines
178178 }
179179 var hudRayPick = controllerData.hudRayPicks[this.hand];
180180 var point2d = this.calculateNewReticlePosition(hudRayPick.intersection);
181− this.setReticlePosition(point2d);
182− if (!Reticle.isPointingAtSystemOverlay(point2d)) {
181+ if (!Window.isPointOnDesktopWindow(point2d)) {
183182 this.exitModule();
184183 return false;
185184 }
185+ this.setReticlePosition(point2d);
186186 Reticle.visible = false;
187187 this.movedAway = false;
188188 this.triggerClicked = controllerData.triggerClicks[this.hand];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t