Skip to content

Commit

Permalink
remove ill concieved "hasScreen" check
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Oct 31, 2023
1 parent 9bd0b9e commit bc706d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/backend/ComponentImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit bc706d6

Please sign in to comment.