Fix debugger buttons appearing glitched on newer versions of macOS, fixes #509

This commit is contained in:
Lior Halphon 2022-11-06 13:52:02 +02:00
parent 1a85abfd2a
commit 31340d2a90
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
{
self = [super initWithCoder:coder];
self.toolTip = self.title;
self.imagePosition = NSImageOnly; // Newer versions of AppKit refuse to respect the value from the nib file
return self;
}
@ -32,7 +33,7 @@
}
}
-(void)updateTrackingAreas
- (void)updateTrackingAreas
{
[super updateTrackingAreas];
if (_trackingArea) {