Skip to content

Commit bd7ebd9

Browse files
committed
re-add commented out x/y overrides
1 parent 7d9b1af commit bd7ebd9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

haxe/ui/backend/ComponentImpl.hx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -910,21 +910,19 @@ class ComponentImpl extends ComponentBase {
910910
_destroy = true;
911911
}
912912

913-
/*
914913
private override function set_x(value:Float):Float {
915914
var r = super.set_x(value);
916915
if (this.parentComponent == null && _surface != null) {
917-
//this.left = value;
916+
this.left = value;
918917
}
919918
return r;
920919
}
921920

922921
private override function set_y(value:Float):Float {
923922
var r = super.set_y(value);
924923
if (this.parentComponent == null && _surface != null) {
925-
//this.top = value;
924+
this.top = value;
926925
}
927926
return r;
928927
}
929-
*/
930928
}

0 commit comments

Comments
 (0)