Skip to content

Commit

Permalink
フルキーボードアクセスが有効時に変換候補パネルが一瞬で消える問題に対処
Browse files Browse the repository at this point in the history
  • Loading branch information
mtgto committed Feb 17, 2024
1 parent 8dfffe2 commit 2b41cbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions macSKK/View/CandidatesPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ final class CandidatesPanel: NSPanel {
super.init(contentRect: .zero, styleMask: [.borderless, .nonactivatingPanel], backing: .buffered, defer: true)
backgroundColor = .clear
contentViewController = viewController
// フルキーボードアクセスが有効なときに変換パネルが表示されなくなるのを回避
setAccessibilityElement(false)
}

func setCandidates(_ candidates: CurrentCandidates, selected: Candidate?) {
Expand Down

0 comments on commit 2b41cbb

Please sign in to comment.