-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
feat: Allow Reset Grid Properties for Layout in UI Editor (#1619) #2400
base: master
Are you sure you want to change the base?
Conversation
+ added check to see if possible to reset otherwise disable
Thanks a bunch for the PR, this one doesn't look as straightforward so I'll pass it to @Kryptos-FR, hopefully he has time to get back to us |
I'll look into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial review of the code with some small remarks. I will need to do a second in-depth review when I have more time.
There might be a better place indeed to put the delegate (maybe implemented as a command). If it's a blocking issue, I'm ok to merge it (once my remarks are resolved) and do the refactoring later (in which case, please create a new issue for tracking it).
sources/editor/Stride.Assets.Presentation/NodePresenters/Updaters/UIAssetNodeUpdater.cs
Outdated
Show resolved
Hide resolved
sources/editor/Stride.Assets.Presentation/NodePresenters/Updaters/UIAssetNodeUpdater.cs
Outdated
Show resolved
Hide resolved
sources/editor/Stride.Assets.Presentation/NodePresenters/Updaters/UIAssetNodeUpdater.cs
Outdated
Show resolved
Hide resolved
sources/editor/Stride.Core.Assets.Editor/Quantum/NodePresenters/AssetVirtualNodePresenter.cs
Outdated
Show resolved
Hide resolved
Feedback should be implemented, thanks for reviewing it! |
PR Details
Allowing UI grid properties to be reset to base value in UI editor. 'Reset to base value' button by right clicking on properties doesn't allow to be reset.
Related Issue
Issue: #1619
Types of changes
Just a note: May need a recommendation on where the custom delegate function goes, for now I kept them in UIAssetNodeUpdater file, it may need to be moved elsewhere. I can remove those TODO comments as needed. Thank you!
Checklist