Closed apella closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lexical | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 2, 2024 11:06am |
lexical-playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 2, 2024 11:06am |
Closing this in preference of a more succinct solution suggested by @ebads67
Description
In our implementation of this editor, the user can modify the zoom of the editor area independently of the rest of the page. This skews the selection areas of the table cell resizer. This commit fixes that.
It also slightly shifts the rectangles to center on the edge, instead of being outside the cell, and scales these rectangles proportionally. This makes for a more intuitive user experience as the user will try to select the edge, not the outside.
Closes: #
Test plan
Before
After
(selection zones were temporarily coloured yellow to display the zones. Notice how they now overlap with the cell border)