CtlCandidateTDK // Again disable dragability to avoid glitches.
This commit is contained in:
parent
9408f18cc5
commit
e4a8f34075
|
@ -70,8 +70,6 @@ public class CtlCandidateTDK: CtlCandidate, NSWindowDelegate {
|
||||||
panel.level = NSWindow.Level(Int(max(CGShieldingWindowLevel(), kCGPopUpMenuWindowLevel)) + 2)
|
panel.level = NSWindow.Level(Int(max(CGShieldingWindowLevel(), kCGPopUpMenuWindowLevel)) + 2)
|
||||||
panel.hasShadow = true
|
panel.hasShadow = true
|
||||||
panel.backgroundColor = NSColor.clear
|
panel.backgroundColor = NSColor.clear
|
||||||
panel.isMovable = true
|
|
||||||
panel.isMovableByWindowBackground = true
|
|
||||||
contentRect.origin = NSPoint.zero
|
contentRect.origin = NSPoint.zero
|
||||||
|
|
||||||
super.init(layout)
|
super.init(layout)
|
||||||
|
|
Loading…
Reference in New Issue