mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-17 12:12:59 -06:00
Small mobile to desktop resize bug-fix
This commit is contained in:
parent
3a875a023e
commit
f984f33e8b
@ -52,6 +52,8 @@ Engine.Shape.prototype = {
|
||||
|
||||
this.size.x = newSize;
|
||||
this.size.y = newSize;
|
||||
this.sizeRef.x = newSize;
|
||||
this.sizeRef.y = newSize;
|
||||
|
||||
this.pos.x = -(newSize / 2);
|
||||
this.pos.y = -(newSize / 2 + offset);
|
||||
|
Loading…
Reference in New Issue
Block a user