Cancel in-progress drag with right click or escape key (#119)

This commit is contained in:
Paul Kupper
2021-05-09 01:26:47 -07:00
committed by GitHub
parent 78ff81ffa8
commit 57252fa828
10 changed files with 70 additions and 47 deletions
+1
View File
@@ -111,6 +111,7 @@ pub fn translate_key(name: &str) -> events::Key {
"Shift" => KeyShift,
"Control" => KeyControl,
"Alt" => KeyAlt,
"Escape" => KeyEscape,
_ => UnknownKey,
}
}