* fix: anchor corner resize to the opposite edge
* fix: pin the bottom edge when resizing from top handles
The opposite-edge anchor only adjusted x and width, so nw and ne left the
top edge fixed instead of the bottom. Measure the element's rendered height
during the drag (text rewraps, mockups keep an aspect ratio) and move y by
the height change.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Mahmoud <mahmoud.ali-khan@gmx.net>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>