mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
Ref https://github.com/webstudio-is/webstudio-designer/issues/107 Text toolbar is badly positioned when flipped up. Keeping it too close to cursor makes text selection harder. Here I replaced custom logic with computed rect from toolbar parent and state from canvas. A few middlewares polished offsets. Flip no longer overlap text. Also fixed toolbar background. Hide toolbar while selecting text with mouse.