Func is one button with a dark panel of functions; Translator (⌃⌥R or Func): selected text RU<->EN via macOS Translation or claude Haiku, card holds the notch open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -211,6 +211,7 @@ final class IslandWindowController: NSWindowController {
|
||||
fsm.isHeldOpen = {
|
||||
let s = AppState.shared
|
||||
return s.pendingApproval != nil || (s.mode == .expanded && s.view.isTall)
|
||||
|| (s.mode == .expanded && s.translation != nil)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -445,6 +446,9 @@ final class IslandWindowController: NSWindowController {
|
||||
case .desktopToggle:
|
||||
DesktopMochiController.shared.flyOutOrHome()
|
||||
|
||||
case .translate:
|
||||
TranslatorRun.start(state: state)
|
||||
|
||||
case .wardrobeToggle:
|
||||
if state.mode == .expanded && state.view == .wardrobe {
|
||||
collapse()
|
||||
|
||||
Reference in New Issue
Block a user