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

[feat] Add support for dpi on menu icons on macos #584

Closed
grant0417 opened this issue Oct 10, 2022 · 1 comment · Fixed by #562 · May be fixed by grant0417/tao#1
Closed

[feat] Add support for dpi on menu icons on macos #584

grant0417 opened this issue Oct 10, 2022 · 1 comment · Fixed by #562 · May be fixed by grant0417/tao#1

Comments

@grant0417
Copy link
Contributor

When using the CustomMenuItem API in Tao on macOS there is no way to represent high DPI icons. Typically you'd do that with @2x, but the icons is just loaded into memory and thus doesn't have that context.

https://docs.rs/tao/latest/tao/menu/struct.CustomMenuItem.html#method.set_icon

image

@amrbashir
Copy link
Member

amrbashir commented Oct 11, 2022

could you try macos-menu-icon-h-18 branch and see if it fixes the issue?

I don't have a mac to test 😅

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

Successfully merging a pull request may close this issue.

2 participants