Skip to content

Commit

Permalink
reintroduce cancelling the event on thumb down
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Oct 7, 2024
1 parent 3828546 commit 330f5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/components/Scroll.hx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private class Events extends haxe.ui.events.Events {

private var _mouseDownOffset:Point;
private function onThumbMouseDown(event:MouseEvent) {
//event.cancel();
event.cancel();

_mouseDownOffset = new Point();
_mouseDownOffset.x = event.screenX - _thumb.left + _scroll.layout.paddingLeft;
Expand Down

0 comments on commit 330f5ce

Please sign in to comment.