Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

menu bar icon doesn't work with Yosemite dark's theme #2604

Closed
nrako opened this issue Nov 13, 2014 · 1 comment
Closed

menu bar icon doesn't work with Yosemite dark's theme #2604

nrako opened this issue Nov 13, 2014 · 1 comment

Comments

@nrako
Copy link

nrako commented Nov 13, 2014

It looks like the icon image in the menu bar is not set as template, therefore it wont be automatically changed into a white version by Yosemite.

See bellow I used the dropbox src tiff images to test and show the issue. (the 2nd is my app, the 3rd dropbox)

screen shot 2014-11-13 at 14 34 50

screen shot 2014-11-13 at 14 35 20

screen shot 2014-11-13 at 14 37 55

I found a link which seems to explain how to fix that:

// Load icon
var icon = NSImage(named: "statusIcon")

// Fixes dark mode
icon.setTemplate(true)

Tested on node-webkit v0.10.5
OSX 10.10 of course...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant