Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more upkeep
Browse files Browse the repository at this point in the history
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
@@ -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();
}
}
}

0 comments on commit ba5784e

Please sign in to comment.