Revolve angle rotator (drag the arc end, 5 degree steps), right-click menu in the viewport (Repeat last command, commands for the selection, fit/home/undo), larger inline sketch dimension boxes

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:46:34 +00:00
1 parent 3229fd9740
commit 79a4194f6e
5 files changed
+208 -4

No files matched your search

+8 -2
View File
@@ -40,6 +40,8 @@ pub struct ViewportState {
/// Timeline item under the cursor: its bodies are highlighted.
pub hover_feature: Option<u64>,
pub build_ms: f64,
/// The right-click menu, open at this screen position.
pub context_menu: Option<Pos2>,
}
/// Something under the cursor.
@@ -868,8 +870,12 @@ pub fn show(app: &mut SolveApp, ui: &mut egui::Ui) {
select(app, cand.and_then(|c| c.1), add);
}
}
if resp.secondary_clicked() && delta == egui::Vec2::ZERO && app.tool.is_some() {
crate::tools::finish(app);
if resp.secondary_clicked() && delta == egui::Vec2::ZERO {
if app.tool.is_some() {
crate::tools::finish(app);
} else if app.dialog.is_none() {
crate::context_menu::open(app, p);
}
}
}
// Box selection: a primary drag on the model when no navigation mode is on.