From bc706d67efc093cd3b1623d0e9d599b326bbd330 Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Tue, 31 Oct 2023 19:23:08 +0100 Subject: [PATCH] remove ill concieved "hasScreen" check --- haxe/ui/backend/ComponentImpl.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haxe/ui/backend/ComponentImpl.hx b/haxe/ui/backend/ComponentImpl.hx index 06b81ff..b6eaa04 100644 --- a/haxe/ui/backend/ComponentImpl.hx +++ b/haxe/ui/backend/ComponentImpl.hx @@ -166,7 +166,7 @@ class ComponentImpl extends ComponentBase { @:access(haxe.ui.core.Component) private function inBounds(x:Float, y:Float):Bool { - if (asComponent.hidden == true || asComponent.hasScreen == false) { + if (asComponent.hidden == true) { return false; }