Skip to content

Commit

Permalink
dont check for overlapping components if component is already "down"
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Dec 19, 2023
1 parent 8209c4d commit 9a1abf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haxe/ui/backend/ComponentImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -866,10 +866,11 @@ class ComponentImpl extends ComponentBase {

var i = inBounds(x, y);
if (i == true) {
/*
if (hasComponentOver(cast this, x, y) == true) {
return;
}

*/
if (_mouseDownFlag == true) {
var type = button == 0 ? haxe.ui.events.MouseEvent.CLICK: haxe.ui.events.MouseEvent.RIGHT_CLICK;
var fn:UIEvent->Void = _eventMap.get(type);
Expand Down

0 comments on commit 9a1abf4

Please sign in to comment.