cad-editor/src/app/update
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven f5870b011d fix(text): show text in command previews (move/copy/etc) (#316)
Command previews (MOVE, COPY, ROTATE, SCALE, STRETCH, MIRROR, ARRAY,
PASTE, INSERT) build ghost WireModels via WireModel::translated/rotated/
scaled/stretched/mirrored, but those helpers moved only `points`, never
`text_verts`, and the ghosts' glyphs were never uploaded — so text
vanished (or froze at its source) during the preview, same root cause as
the grip-drag case.

Transform text_verts alongside points in all five helpers (shared
map_text_verts, reconstructing + re-splitting the double-single world
position), and gather preview_wires' glyphs into the per-frame
preview-text buffer in the render path. This covers every command
preview automatically. The grip-drag else branch no longer sets
preview_text explicitly (the render gather handles it); the grip-slide
fast path keeps its own scene.preview_text channel (empty preview_wires,
so no double-draw).

MIRROR honours MIRRTEXT: on -> true glyph mirror via mirrored(); off ->
readable relocation via translated().

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 10:49:13 +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): show text in command previews (move/copy/etc) (#316) 2026-07-10 10:49:13 +03:00