Distinguish active outside-canvas drag feedback from cancellation

This commit is contained in:
2026-09-12 04:59:09 -07:00
parent 60ea483430
commit 0d6f677329
3 changed files with 9 additions and 1 deletions
+5 -1
View File
@@ -564,7 +564,11 @@ impl App {
let mut targets = Vec::new();
let mut preview = None;
let result: Result<String, String> = match hit {
Hit::OutsideViewport => Err("Work drag canceled outside the canvas.".into()),
Hit::OutsideViewport => Err(if release {
"Work drag canceled outside the canvas."
} else {
"Pointer outside canvas · return to choose a destination; releasing here cancels the drag."
}.into()),
_ if !moved => Ok("Work selected".into()),
Hit::Occluded => Err("Aim at exposed performer space or empty canvas; this card, port, connection or control blocks the drop.".into()),
Hit::Ambiguous(indices) => {