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

wrong position on swaybar when scale=2 #1137

Closed
motherload opened this issue Mar 24, 2017 · 2 comments
Closed

wrong position on swaybar when scale=2 #1137

motherload opened this issue Mar 24, 2017 · 2 comments

Comments

@motherload
Copy link

When scale=2 is enabled in the config file, the swaybar aesthetically scales correctly, everything looks fine.

But if you try to click the compartments to select some workspace, it becomes clear that the they do not coincide. Can't say by how much, but the click compartment is more than 50% wider than what you see on the screen. If you have more than 2 or 3 active workspaces, it becomes nearly impossible to select them accurately with the mouse click.

@ascent12
Copy link
Member

ascent12 commented Apr 8, 2017

I've noticed that this is still an issue, even for unscaled outputs. With scale=1, when you have 10 workspaces open, clicking on the right half of '9' will select '10'.
I suspect that the 1px border between buttons is not being accounted for when working out which button has been clicked.

@ddevault
Copy link
Contributor

ddevault commented Apr 8, 2017

Good catch.

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

No branches or pull requests

3 participants