From fc6b5a7a55bd92d1ea89843497db78209a1fa9c5 Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Sat, 23 Dec 2023 11:18:44 +0100 Subject: [PATCH] revert: dont skip if in a scroller (unsure intention) --- haxe/ui/focus/FocusManager.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haxe/ui/focus/FocusManager.hx b/haxe/ui/focus/FocusManager.hx index 119bebe01..fb4b21b58 100644 --- a/haxe/ui/focus/FocusManager.hx +++ b/haxe/ui/focus/FocusManager.hx @@ -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; } }