-
Notifications
You must be signed in to change notification settings - Fork 257
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
[NUI] Fix a crash when applying ViewStyle. #6661
base: DevelNUI
Are you sure you want to change the base?
Conversation
After Xaml in ViewStyle is disabled, Selector instance is returned when ViewStyle.GetInternalBackgroundColorProperty But in View.SetInternalBackgroundColorProperty, NUIApplication.IsUsingXaml is checked, then this will cause cast exception. The NUIApplication.IsUsingXaml check is added in the patch #6077 . |
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.
approved
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.
Looks good to me.
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.
LGTM
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.
Looks good
72ff026
to
315b497
Compare
Description of Change
API Changes