Fix #9743: [OSX] Only (re-)create touchbar sprites when requested by the main loop.
This commit is contained in:
@@ -95,6 +95,8 @@ static NSDictionary *touchBarFallbackText = @{
|
||||
- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag driver:(VideoDriver_Cocoa *)drv;
|
||||
|
||||
- (void)setFrame:(NSRect)frameRect display:(BOOL)flag;
|
||||
|
||||
- (void)refreshSystemSprites;
|
||||
@end
|
||||
|
||||
/** Subclass of NSView to support mouse awareness and text input. */
|
||||
|
||||
Reference in New Issue
Block a user