From 23e02b9132b2b56fbc57e0a412a66d016542d92e Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 17 Oct 2022 18:58:43 +0800 Subject: [PATCH] SessionCtl // Prompt cassette mode in TDK candidate window. --- Source/Modules/SessionCtl_HandleDisplay.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Modules/SessionCtl_HandleDisplay.swift b/Source/Modules/SessionCtl_HandleDisplay.swift index e3c267cb..59518d0b 100644 --- a/Source/Modules/SessionCtl_HandleDisplay.swift +++ b/Source/Modules/SessionCtl_HandleDisplay.swift @@ -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: "")