From 31340d2a901085e15419e2f68eb4932a9acbe42e Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 6 Nov 2022 13:52:02 +0200 Subject: [PATCH] Fix debugger buttons appearing glitched on newer versions of macOS, fixes #509 --- Cocoa/GBDebuggerButton.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cocoa/GBDebuggerButton.m b/Cocoa/GBDebuggerButton.m index 15e6eb0..32f46c3 100644 --- a/Cocoa/GBDebuggerButton.m +++ b/Cocoa/GBDebuggerButton.m @@ -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) {