mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:49:23 +02:00
Merge branch '20224' of github.com:thoys/hifi into 20245
This commit is contained in:
commit
62b95d1558
1 changed files with 4 additions and 4 deletions
|
@ -510,12 +510,12 @@ Cursor = (function(params) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var editobject = {};
|
var editobject = {};
|
||||||
if (tthis.x !== HMD.getHUDLookAtPosition2D.x) {
|
if (tthis.x !== HMD.HUDLookAtPosition2D.x) {
|
||||||
tthis.x = HMD.getHUDLookAtPosition2D.x;
|
tthis.x = HMD.HUDLookAtPosition2D.x;
|
||||||
editobject.x = tthis.x - (CURSOR_WIDTH / 2);
|
editobject.x = tthis.x - (CURSOR_WIDTH / 2);
|
||||||
}
|
}
|
||||||
if (tthis.y !== HMD.getHUDLookAtPosition2D.y) {
|
if (tthis.y !== HMD.HUDLookAtPosition2D.y) {
|
||||||
tthis.y = HMD.getHUDLookAtPosition2D.y;
|
tthis.y = HMD.HUDLookAtPosition2D.y;
|
||||||
editobject.y = tthis.y - (CURSOR_HEIGHT / 2);
|
editobject.y = tthis.y - (CURSOR_HEIGHT / 2);
|
||||||
}
|
}
|
||||||
if (Object.keys(editobject).length > 0) {
|
if (Object.keys(editobject).length > 0) {
|
||||||
|
|
Loading…
Reference in a new issue