From bd7ebd956f0fd97bda0ab0095f2a5b61165b2e5f Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Mon, 18 Nov 2024 08:45:55 +0100 Subject: [PATCH] re-add commented out x/y overrides --- haxe/ui/backend/ComponentImpl.hx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/haxe/ui/backend/ComponentImpl.hx b/haxe/ui/backend/ComponentImpl.hx index 3cce20b..8c181e1 100644 --- a/haxe/ui/backend/ComponentImpl.hx +++ b/haxe/ui/backend/ComponentImpl.hx @@ -910,11 +910,10 @@ 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; } @@ -922,9 +921,8 @@ class ComponentImpl extends ComponentBase { 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; } - */ } \ No newline at end of file