diff options
| author | Jeremy Stott | 2018-07-09 15:04:34 +0800 |
|---|---|---|
| committer | GitHub | 2018-07-09 15:04:34 +0800 |
| commit | 558dded772a0e91d3b46ad61f42309ecc1ef3348 (patch) | |
| tree | 9e261ccf3849c2d94e1dc03632564ba17221976e | |
| parent | a9db7e378b5cb5ac8a5585ccd9b2a0ea1b7e033e (diff) | |
| download | systray-558dded772a0e91d3b46ad61f42309ecc1ef3348.tar.bz2 | |
Revert "Use templated icons for the menu bar in macOS"
| -rw-r--r-- | systray_darwin.m | 1 |
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); } |
