Skip to content

Commit

Permalink
re-add commented out x/y overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Nov 18, 2024
1 parent 7d9b1af commit bd7ebd9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions haxe/ui/backend/ComponentImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -910,21 +910,19 @@ class ComponentImpl extends ComponentBase {
_destroy = true;
}

/*
private override function set_x(value:Float):Float {
var r = super.set_x(value);
if (this.parentComponent == null && _surface != null) {
//this.left = value;
this.left = value;
}
return r;
}

private override function set_y(value:Float):Float {
var r = super.set_y(value);
if (this.parentComponent == null && _surface != null) {
//this.top = value;
this.top = value;
}
return r;
}
*/
}

0 comments on commit bd7ebd9

Please sign in to comment.