Fix: sketch edit exit (double-click a sketch no longer traps you)

Edit Sketch rolls the timeline back to just after the sketch and faces it;
Finish Sketch, Esc (once nothing else is left to cancel) and editing another
feature all leave it, restoring the marker and the previous view. Editing the
open sketch again is a no-op and editing another sketch switches cleanly.
The control channel's ui.click takes double: true.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS5Tn3xieewUSg3uxrMVdL
This commit is contained in:
bherbruckandClaude Opus 5.5 committed 2026-10-07 22:25:45 +00:00
1 parent 73f68f3f50
commit 71a1903122
6 files changed
+138 -12

No files matched your search

+1 -1
View File
@@ -199,7 +199,7 @@ pub fn timeline(app: &mut SolveApp, ui: &mut egui::Ui) {
if let Some(sk) = sketch_of
&& ui.button("Edit Profile Sketch").clicked()
{
let _ = app.run("SketchActivate", json!({ "sketch": sk }));
app.edit_sketch(sk);
ui.close();
}
if ui.button("Rename").clicked() {