release: тема, готовые своды промпта, обучение словаря видно из плашки

This commit is contained in:
public-repo-gate
2026-09-07 12:57:44 +03:00
parent e9ac41fe61
commit 3765f84544
33 changed files with 6745 additions and 5382 deletions
+14
View File
@@ -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
}()