-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Disable lock and group buttons when selected item is not CanvasItem #88997
Conversation
So what about Node3Ds? |
While the report was only about 2D editor, the 3D one needs the same treatment, even for consistency. |
I've rebased the code onto master, and added back |
When you click non-CanvasItem node, the lock button opens: godot.windows.editor.dev.x86_64_aaHzgY3HQv.mp4It's inconsistent with empty selection, which is closed, and also suggests that non-CanvasItems are "locked". Probably worth fixing. It can be done with EDIT: |
Disable lock and group buttons when selected item is not CanvasItem
06abc86
Thanks! |
An idea of fix #88939 , should be merged after #89132 is merged.
The origin problem lies in the fact that ParallaxBackground is not a CanvasItem so the code did not do anything special to it, I guess if this need to be fixed, we can either hide the button or make it disable.
This pr disables lock and group buttons when there's not any selected CanvasItem.