release: тема, готовые своды промпта, обучение словаря видно из плашки
This commit is contained in:
@@ -35,6 +35,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
if captureUILiveIfRequested() { return }
|
||||
if probeGlassIfRequested() { return }
|
||||
if measureHUDFirstShowIfRequested() { return }
|
||||
// Тема — ПЕРЕД первым окном: применённая после, она даёт вспышку чужого
|
||||
// вида в момент, когда владелец смотрит на экран.
|
||||
applyIrizAppearance()
|
||||
|
||||
exportGlyphSheetIfRequested()
|
||||
showFirstRunIfRequested()
|
||||
showSettingsIfRequested()
|
||||
@@ -534,6 +538,16 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
done()
|
||||
}
|
||||
}
|
||||
controller.model.recordTranslationHotkey = { [weak self] done in
|
||||
guard let self else { return }
|
||||
self.hotkeyRecorder.present(actionTitle: "Перевод") { choice in
|
||||
guard let choice else { done(); return }
|
||||
DictationSettings.shared.translationHotkeyKeycode = choice.keycode
|
||||
DictationSettings.shared.translationHotkeyModifiers = choice.requiredModifiers
|
||||
self.dictationController.applySettings()
|
||||
done()
|
||||
}
|
||||
}
|
||||
return controller
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user