disabled hightlichting to make the button look like a badge

This commit is contained in:
Michael Starke
2018-09-30 11:45:44 +02:00
parent a04ed6d32a
commit 44f783fd0f

View File

@@ -66,6 +66,7 @@
}
- (void)_updateCountDisplay {
[((NSButtonCell *)self.countButton.cell) setHighlightsBy:0];
self.countButton.title = [NSString stringWithFormat:@"%ld", _count];
self.countButton.hidden = (self.hideZeroCount && self.count == 0);
}