SettingsCocoa // Make narration settings effective immediately.
This commit is contained in:
parent
903faae51f
commit
21dcb58748
|
@ -39,7 +39,10 @@ public extension SettingsPanesCocoa {
|
||||||
}
|
}
|
||||||
}?.boxed()
|
}?.boxed()
|
||||||
NSStackView.buildSection(width: contentWidth) {
|
NSStackView.buildSection(width: contentWidth) {
|
||||||
UserDef.kReadingNarrationCoverage.render(fixWidth: contentWidth)
|
UserDef.kReadingNarrationCoverage.render(fixWidth: contentWidth) { renderable in
|
||||||
|
renderable.currentControl?.target = self
|
||||||
|
renderable.currentControl?.action = #selector(self.updateNarratorSettingsAction(_:))
|
||||||
|
}
|
||||||
UserDef.kAutoCorrectReadingCombination.render(fixWidth: contentWidth)
|
UserDef.kAutoCorrectReadingCombination.render(fixWidth: contentWidth)
|
||||||
UserDef.kShowHanyuPinyinInCompositionBuffer.render(fixWidth: contentWidth)
|
UserDef.kShowHanyuPinyinInCompositionBuffer.render(fixWidth: contentWidth)
|
||||||
UserDef.kKeepReadingUponCompositionError.render(fixWidth: contentWidth)
|
UserDef.kKeepReadingUponCompositionError.render(fixWidth: contentWidth)
|
||||||
|
|
Loading…
Reference in New Issue