aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Stott2018-07-09 15:04:34 +0800
committerGitHub2018-07-09 15:04:34 +0800
commit558dded772a0e91d3b46ad61f42309ecc1ef3348 (patch)
tree9e261ccf3849c2d94e1dc03632564ba17221976e
parenta9db7e378b5cb5ac8a5585ccd9b2a0ea1b7e033e (diff)
downloadsystray-558dded772a0e91d3b46ad61f42309ecc1ef3348.tar.bz2
Revert "Use templated icons for the menu bar in macOS"
-rw-r--r--systray_darwin.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/systray_darwin.m b/systray_darwin.m
index 5b3ddf9..f1dc7ac 100644
--- a/systray_darwin.m
+++ b/systray_darwin.m
@@ -159,7 +159,6 @@ void runInMainThread(SEL method, id object) {
void setIcon(const char* iconBytes, int length) {
NSData* buffer = [NSData dataWithBytes: iconBytes length:length];
NSImage *image = [[NSImage alloc] initWithData:buffer];
- image.template = YES;
[image setSize:NSMakeSize(16, 16)];
runInMainThread(@selector(setIcon:), (id)image);
}