TooltipUI // Disable movability.
This commit is contained in:
parent
dbd7dc92a1
commit
2f1b4f8aeb
|
@ -37,6 +37,7 @@ public class TooltipUI: NSWindowController {
|
||||||
panel.level = NSWindow.Level(Int(kCGPopUpMenuWindowLevel) + 2)
|
panel.level = NSWindow.Level(Int(kCGPopUpMenuWindowLevel) + 2)
|
||||||
panel.hasShadow = true
|
panel.hasShadow = true
|
||||||
panel.backgroundColor = NSColor.controlBackgroundColor
|
panel.backgroundColor = NSColor.controlBackgroundColor
|
||||||
|
panel.isMovable = false
|
||||||
messageText = NSAttributedTooltipTextView()
|
messageText = NSAttributedTooltipTextView()
|
||||||
messageText.backgroundColor = NSColor.controlBackgroundColor
|
messageText.backgroundColor = NSColor.controlBackgroundColor
|
||||||
messageText.textColor = NSColor.textColor
|
messageText.textColor = NSColor.textColor
|
||||||
|
|
Loading…
Reference in New Issue