From 79a0fb33a0d169a9382e3048de322aead27dac27 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 22 Dec 2022 17:25:45 +0800 Subject: [PATCH] TooltipUI // Force redraw. --- Packages/vChewing_TooltipUI/Sources/TooltipUI/TooltipUI.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/vChewing_TooltipUI/Sources/TooltipUI/TooltipUI.swift b/Packages/vChewing_TooltipUI/Sources/TooltipUI/TooltipUI.swift index 6654ab7f..54cee25b 100644 --- a/Packages/vChewing_TooltipUI/Sources/TooltipUI/TooltipUI.swift +++ b/Packages/vChewing_TooltipUI/Sources/TooltipUI/TooltipUI.swift @@ -41,6 +41,7 @@ public class TooltipUI: NSWindowController { messageText = NSAttributedTooltipTextView() messageText.backgroundColor = NSColor.controlBackgroundColor messageText.textColor = NSColor.textColor + messageText.needsDisplay = true panel.contentView?.addSubview(messageText) super.init(window: panel) }