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

With GDK_SCALE=2, trigger cannot be dragged #255

Closed
whitequark opened this issue Oct 27, 2020 · 1 comment
Closed

With GDK_SCALE=2, trigger cannot be dragged #255

whitequark opened this issue Oct 27, 2020 · 1 comment
Assignees
Labels
bug Something isn't working probably-fixed We think this is fixed, need OP to confirm

Comments

@whitequark
Copy link
Contributor

whitequark commented Oct 27, 2020

Also it seems like both the trigger arrow and the vertical axis labels are drawn at 1/2 scale.

You probably want to handle this by querying gtkWindow.get_scale_factor();.

@azonenberg
Copy link
Collaborator

This was a bit harder than I expected because GTK automatically sets scaling for the default Cairo context, but OpenGL rendering isn't affected by scaling. And off-screen Cairo contexts created for render-to-texture don't have the scaling automagically applied.

This should work, please test and close the issue if fixed.

@azonenberg azonenberg added bug Something isn't working probably-fixed We think this is fixed, need OP to confirm labels Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working probably-fixed We think this is fixed, need OP to confirm
Projects
None yet
Development

No branches or pull requests

2 participants