mirror of https://github.com/LIJI32/SameBoy.git
Fix debugger buttons appearing glitched on newer versions of macOS, fixes #509
This commit is contained in:
parent
1a85abfd2a
commit
31340d2a90
|
@ -8,6 +8,7 @@
|
||||||
{
|
{
|
||||||
self = [super initWithCoder:coder];
|
self = [super initWithCoder:coder];
|
||||||
self.toolTip = self.title;
|
self.toolTip = self.title;
|
||||||
|
self.imagePosition = NSImageOnly; // Newer versions of AppKit refuse to respect the value from the nib file
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +33,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)updateTrackingAreas
|
- (void)updateTrackingAreas
|
||||||
{
|
{
|
||||||
[super updateTrackingAreas];
|
[super updateTrackingAreas];
|
||||||
if (_trackingArea) {
|
if (_trackingArea) {
|
||||||
|
|
Loading…
Reference in New Issue