forked from 1b-agent/opencadstudio-upstream
Key tips: translate the hints, drop a held Alt on focus loss
Alt+Tab away left the lone-Alt flag set, so the release on return opened the key tips. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
be6dbfdd78
commit
814dd2e3d6
21 files changed
+85
-81
No files matched your search
@@ -629,7 +629,11 @@ impl OpenCADStudio {
|
||||
if Some(id) == self.main_window {
|
||||
self.spacemouse_focused = focused;
|
||||
}
|
||||
// Key tips close when the window loses the focus.
|
||||
// Key tips close when the window loses the focus, and an Alt
|
||||
// held while it left (Alt+Tab) no longer counts as a lone tap.
|
||||
if !focused {
|
||||
crate::ui::ribbon::keytip_pointer_pressed();
|
||||
}
|
||||
if !focused && self.ribbon.keytips_active() {
|
||||
return self.hide_keytips();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user