Skip to content

Commit

Permalink
revert: dont skip if in a scroller (unsure intention)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Dec 23, 2023
1 parent ef7086e commit fc6b5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/focus/FocusManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class FocusManager extends FocusManagerImpl {
private function onScreenMouseDown(event:MouseEvent) {
var list = Screen.instance.findComponentsUnderPoint(event.screenX, event.screenY);
for (l in list) {
if (isOfType(l, IFocusable) && @:privateAccess !cast(l, Component).isScroller) {
if (isOfType(l, IFocusable)) {
return;
}
}
Expand Down

0 comments on commit fc6b5a7

Please sign in to comment.