aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoesis2018-07-09 16:49:47 +0800
committerGitHub2018-07-09 16:49:47 +0800
commit62af9eb8030c168caa78856c967e6d2c4a7d813e (patch)
tree9e261ccf3849c2d94e1dc03632564ba17221976e
parenta9db7e378b5cb5ac8a5585ccd9b2a0ea1b7e033e (diff)
parent558dded772a0e91d3b46ad61f42309ecc1ef3348 (diff)
downloadsystray-62af9eb8030c168caa78856c967e6d2c4a7d813e.tar.bz2
Merge pull request #51 from stoggi/revert-46-macos-template-icon
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);
}