File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1616
1717class DefconAppKitInformationPopUpWindowContentView (NSView ):
1818
19+ windowColor = HUDWindowColor
20+ windowLineColor = HUDWindowLineColor
21+
1922 def drawRect_ (self , rect ):
2023 rect = self .bounds ()
2124 rect = NSInsetRect (rect , .5 , .5 )
2225 path = roundedRectBezierPath (rect , 7 )
23- HUDWindowColor .set ()
26+ self . windowColor .set ()
2427 path .fill ()
25- HUDWindowLineColor .set ()
28+ self . windowLineColor .set ()
2629 path .stroke ()
2730
2831
@@ -164,10 +167,12 @@ def canBecomeKeyWindow(self):
164167
165168class DefconAppKitInteractivePopUpWindowContentView (NSView ):
166169
170+ windowColor = interactiveWindowColor
171+
167172 def drawRect_ (self , rect ):
168173 rect = self .bounds ()
169174 path = roundedRectBezierPath (rect , 5 )
170- interactiveWindowColor .set ()
175+ self . windowColor .set ()
171176 path .fill ()
172177
173178
You can’t perform that action at this time.
0 commit comments