cad-editor/src/app/update
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 67fe363775 fix(text): grip-drag no longer hides text (#316)
Dragging text by a grip hid it until release. The dragged entity is
hidden from the base wire set and shown as a preview overlay, but its
SDF glyph quads (text_verts) were never uploaded for the preview, so
the text vanished mid-drag.

Add a per-frame preview_text GPU buffer (sibling to preview_wires). A
rigid whole-entity move of pure text (TEXT/MTEXT, Square insertion grip)
slides the drag-start glyphs by the drag delta instead of re-shaping the
run every move; reshape grips (MTEXT width), dimensions and wire
entities re-tessellate and feed the same buffer.

Also fold preview_text into render_signature: a pure-text slide leaves
preview_wires empty, so without it the scene-render cache froze the
dragged text at its first frame (grip moved but text stayed, then
jumped to place on release).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 10:39:44 +03:00
..
command.rs fix(text): grip-drag no longer hides text (#316) 2026-07-10 10:39:44 +03:00
dialog.rs feat(ribbon): collapse overflowing panels to flyout buttons, anchor dropdowns to their widget 2026-07-05 18:04:55 +03:00
dynamic.rs feat(draw): Arc Continue command; 3-Point default 2026-07-08 20:39:40 +03:00
file.rs feat(text): TEXTFILL — fill or hollow TrueType glyphs (#260) 2026-07-09 16:41:53 +03:00
mod.rs feat(polar): angle picker dropdown on the POLAR pill (#264) 2026-07-09 21:35:47 +03:00
style.rs refactor(viewport): migrate model-space tiling to iced pane_grid 2026-06-27 11:50:11 +03:00
util.rs feat(plot): page setup manager — named setups, layouts, <none>/<previous> 2026-07-09 12:25:46 +03:00
viewport.rs fix(text): grip-drag no longer hides text (#316) 2026-07-10 10:39:44 +03:00