Describe the bug
On the op InteractiveRectangle the pivotX and pivotY properties only work properly on center.
They affect the geometry output but not the CSS output.
It looks like the divAlign property is used to transfer this data between functions Rebuild() and updateDivSize()
In Rebuild() divAlign is only set for the center values and not for the top/bottom/left/right values
Link to simple, reproducible example patch https://cables.gl/p/fviatk
Describe the bug On the op InteractiveRectangle the pivotX and pivotY properties only work properly on center. They affect the geometry output but not the CSS output.
It looks like the divAlign property is used to transfer this data between functions Rebuild() and updateDivSize() In Rebuild() divAlign is only set for the center values and not for the top/bottom/left/right values
How To Reproduce
Platform Chrome 127 Win 11 on regular and dev cables
Proposed fix
There is a proposed bugfix version of the op in that demo patch
It replaces the code at line 87 with