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

StandardNodeGadget : Remove raster-space sizing for focus border #5468

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

johnhaddon
Copy link
Member

We were scaling the size up to make the focus icon more prominent when the graph editor was zoomed out. But this had the unwanted side effect of obscuring more parts of the underlying UI when zoomed out. So while managing focus was easier, some other operations - such as making a connection - became impossible at some zoom levels. This appears to have been further exacerbated by a bug whereby the default scaling was not consistent between 2K and 4K displays, as reported in #5435, making some operations impossible at common zoom levels.

Removing this dynamic sizing does make focus management a little harder, but the fixed sizing maintains the relative importance of UI elements across all zoom levels. Let's see how folks get on with it.

Fixes #5435.

We were scaling the size up to make the focus icon more prominent when the graph editor was zoomed out. But this had the unwanted side effect of obscuring more parts of the underlying UI when zoomed out. So while managing focus was easier, some other operations - such as making a connection - became _impossible_ at some zoom levels. This appears to have been further exacerbated by a bug whereby the default scaling was not consistent between 2K and 4K displays, as reported in GafferHQ#5435, making some operations impossible at common zoom levels.

Removing this dynamic sizing does make focus management a little harder, but the fixed sizing maintains the relative importance of UI elements across all zoom levels. Let's see how folks get on with it.

Fixes GafferHQ#5435.
@danieldresser-ie
Copy link
Contributor

Sure, that's simple if it keeps people happy.

Copy link
Contributor

@murraystevenson murraystevenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unable to reproduce the original issue, but this seems reasonable enough if the raster-space scaling is causing issues with some hi-DPI displays and this addresses the concerns.

@johnhaddon johnhaddon merged commit 1e465b0 into GafferHQ:1.2_maintenance Sep 25, 2023
4 checks passed
@johnhaddon johnhaddon deleted the focusIconSizing branch September 27, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants