TooltipUI // Force redraw.

This commit is contained in:
ShikiSuen 2022-12-22 17:25:45 +08:00
parent 228160a62b
commit 79a0fb33a0
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ public class TooltipUI: NSWindowController {
messageText = NSAttributedTooltipTextView() messageText = NSAttributedTooltipTextView()
messageText.backgroundColor = NSColor.controlBackgroundColor messageText.backgroundColor = NSColor.controlBackgroundColor
messageText.textColor = NSColor.textColor messageText.textColor = NSColor.textColor
messageText.needsDisplay = true
panel.contentView?.addSubview(messageText) panel.contentView?.addSubview(messageText)
super.init(window: panel) super.init(window: panel)
} }