SessionCtl // Prompt cassette mode in TDK candidate window.

This commit is contained in:
ShikiSuen 2022-10-17 18:58:43 +08:00
parent 0b8a61d1ad
commit 23e02b9132
1 changed files with 5 additions and 0 deletions

View File

@ -98,6 +98,11 @@ extension SessionCtl {
name: PrefMgr.shared.candidateTextFontName, size: PrefMgr.shared.candidateListTextSize
)
if PrefMgr.shared.cassetteEnabled {
ctlCandidateCurrent.tooltip =
isVerticalTyping ? "📼" : "📼 " + NSLocalizedString("CIN Cassette Mode", comment: "")
}
if state.type == .ofAssociates {
ctlCandidateCurrent.tooltip =
isVerticalTyping ? "" : NSLocalizedString("Hold ⇧ to choose associates.", comment: "")