Count the selected Hand gesture when H is held

This commit is contained in:
Codex committed 2026-11-30 12:02:25 +01:00
1 parent 1937db57bf
commit 746b8f3dba
1 file changed
+3
@@ -655,6 +655,9 @@ pub(crate) fn run(app: &mut VectorcraftApp, ui: &mut Ui, pass: &ToolPass) -> Too
let mut hand = app.canvas.hand.take().unwrap_or_else(|| craft::ui::canvas::HandTool::new(options));
hand.options = options;
let response = host_run(app, ui, pass, &mut hand);
if response.gesture.is_some() && !view_tool_held(app) && ui.input(|i| i.pointer.primary_down()) {
crate::shortcuts::note_tool_use(app);
}
app.canvas.hand = Some(hand);
response
} else {