Files
webstudio/apps
Bogdan Chadkin b163fdfa76 Use floating-ui to position text toolbar (#467)
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.
2022-11-19 10:51:31 +03:00
..