mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
* feat(studio): show the move, resize and rotate readout as a chip under the element The chip now sits below the element, then beside it, then above the text toolbar, and keeps its side for the whole gesture. It uses the toolbar's own material and reads X / Y, W / H or an angle, so the floating text toolbar no longer covers it. * fix(studio): keep the rotate readout clear of the turned element While rotating, the chip was placed under the element's own box, so it overlapped the rotated text. It now clears the rotated bounding box. * fix(studio): keep the readout chip inside the preview stage at the edges The chip was bounded by the whole canvas area, so near the bottom it hung past the stage's edge. It is now bounded by the stage itself. * refactor(studio): split the readout chip placement into small steps The placement function scored over Fallow's complexity limit and added comment lines the comment ratchet refuses. The placement now lives in its own module of small functions, and the added comments are gone. * fix(studio): keep the position readout chip clear of the preview toolbar * fix(studio): keep side readout chips on the stage and clear of rotated elements * style(studio): format the readout test file * fix(studio): place the readout chip from the painted angle under rotated parents