diff --git a/Sparkle/SUTouchBarButtonGroup.m b/Sparkle/SUTouchBarButtonGroup.m index ab02bbd2..3a56046e 100644 --- a/Sparkle/SUTouchBarButtonGroup.m +++ b/Sparkle/SUTouchBarButtonGroup.m @@ -17,7 +17,7 @@ if (!(self = [super init])) return self; - NSView *buttonGroup = [NSView new]; + NSView *buttonGroup = [[NSView alloc] initWithFrame:NSZeroRect]; self.view = buttonGroup; NSMutableArray *constraints = [NSMutableArray array]; NSMutableArray *buttonCopies = [NSMutableArray arrayWithCapacity:buttons.count];