Repo // Disable DevZone to any macOS earlier than 10.14 Mojave.
This commit is contained in:
parent
2316309d4d
commit
a600021f60
|
@ -683,7 +683,7 @@ public enum mgrPrefs {
|
|||
extension mgrPrefs {
|
||||
static func fixOddPreferences() {
|
||||
// 防呆。macOS 10.11 用 IMK 選字窗會崩潰。
|
||||
if #unavailable(macOS 10.13) { mgrPrefs.useIMKCandidateWindow = false }
|
||||
if #unavailable(macOS 10.14) { mgrPrefs.useIMKCandidateWindow = false }
|
||||
if #unavailable(macOS 10.15) {
|
||||
handleDefaultCandidateFontsByLangIdentifier = false
|
||||
shouldAlwaysUseShiftKeyAccommodation = false
|
||||
|
|
|
@ -336,7 +336,7 @@ extension ctlPrefWindow: NSToolbarDelegate {
|
|||
}
|
||||
|
||||
var toolbarIdentifiers: [NSToolbarItem.Identifier] {
|
||||
if #available(macOS 10.13, *) {
|
||||
if #available(macOS 10.14, *) {
|
||||
return [.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDevZone]
|
||||
}
|
||||
return [.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard]
|
||||
|
|
Loading…
Reference in New Issue