Skip to content

Commit

Permalink
more upkeep
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Jul 10, 2024
1 parent 9849f37 commit ba5784e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flixel/addons/ui/FlxUIMouse.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ class FlxUIMouse extends FlxMouse
#if (flixel < version("5.9.0"))
_globalScreenX = oldScreenX;
_globalScreenY = oldScreenY;
updatePositions();
#else
setRawPositionUnsafe(oldRawX, oldRawY);
_rawX = oldRawX;
_rawY = oldRawY;
#end
updatePositions();
}
}
}
Expand Down

0 comments on commit ba5784e

Please sign in to comment.