Skip to content
New issue

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

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

Already on GitHub? # to your account

How to detect if tray bar is on top|left|bottom|right #196

Closed
amaury1093 opened this issue Jun 25, 2018 · 1 comment · Fixed by #217
Closed

How to detect if tray bar is on top|left|bottom|right #196

amaury1093 opened this issue Jun 25, 2018 · 1 comment · Fixed by #217

Comments

@amaury1093
Copy link
Collaborator

I am showing an arrow, like in #78. However, in the renderer webpage, I need to detect the position of the tray bar, to render the correct arrow.

In the main process, how can I detect the position of the tray bar?

amaury1093 added a commit that referenced this issue Jun 11, 2019
* Add taskbarLocation function (fix #196)

* fix: Correct position on Windows & multi-taskbar

* Add comment

* Fix tests

* Refactor into a function

* Update README
@amaury1093
Copy link
Collaborator Author

Fixed in menubar@6.0.4 🚀

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

Successfully merging a pull request may close this issue.

1 participant