SessionCtl // Bind enableMouseScrollingForTDKCandidatesCocoa.
This commit is contained in:
parent
1bbc17d21f
commit
35124352ed
|
@ -135,8 +135,9 @@ public extension SessionCtl {
|
|||
}
|
||||
}
|
||||
|
||||
if #available(macOS 10.15, *) {
|
||||
if let ctlCandidateCurrent = candidateUI as? CtlCandidateTDK {
|
||||
if let ctlCandidateCurrent = candidateUI as? CtlCandidateTDK {
|
||||
ctlCandidateCurrent.useMouseScrolling = PrefMgr.shared.enableMouseScrollingForTDKCandidatesCocoa
|
||||
if #available(macOS 10.15, *) {
|
||||
ctlCandidateCurrent.useCocoa = !PrefMgr.shared.enableSwiftUIForTDKCandidates
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue