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

EditScopePlugValueWidget : Display lock icon next to read-only nodes #6122

Merged

Conversation

murraystevenson
Copy link
Contributor

This adds a little padlock icon next to read-only nodes in the EditScope menu as a hint that the edit scope you are about to select is locked and not editable. As this icon replaces the node colour swatch, I've tinted it based on the node colour so we don't lose that information on read-only edit scopes. The end result may be a little subtle given the limited real-estate available for a menu icon, but see what you think. I'm also not too beholden to the Image._tint() method for tinting the icon, so if there are better ideas, I'm all ears...

image

@murraystevenson
Copy link
Contributor Author

Pushed an alternate take on this that overlays a lock on top of our now larger node swatches.

updatedEditScopeLockIcon

@johnhaddon johnhaddon merged commit 5aa13b8 into GafferHQ:1.5_maintenance Nov 20, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants