Skip to content

Commit afb2a06

Browse files
committedFeb 1, 2021
In SSYHintArrow, removed calls to deprecated NSDisableScreenUpdates() and NSEnableScreenUpdates.
1 parent 04e05e7 commit afb2a06

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎SSYHintArrow.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,12 @@ - (void)updateBackground {
142142
// Call NSWindow's implementation of -setBackgroundColor: because we override
143143
// it in this class to let us set the entire background image of the window
144144
// as an NSColor patternImage.
145-
NSDisableScreenUpdates() ;
146145
[super setBackgroundColor:[self backgroundColorPatternImage]] ;
146+
/*SSYDBL*/ NSLog(@"Updating hint arrow background") ;
147147
if ([self isVisible]) {
148148
[self display] ;
149149
[self invalidateShadow] ;
150150
}
151-
NSEnableScreenUpdates() ;
152151
}
153152

154153
- (void)redisplay {
@@ -157,10 +156,9 @@ - (void)redisplay {
157156
}
158157

159158
m_isResizingLockout = YES ;
160-
NSDisableScreenUpdates() ;
159+
/*SSYDBL*/ NSLog(@"Redisplaying hint arrow") ;
161160
[self updateGeometry] ;
162161
[self updateBackground] ;
163-
NSEnableScreenUpdates() ;
164162
m_isResizingLockout = NO ;
165163
}
166164

0 commit comments

Comments
 (0)
Please sign in to comment.