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

Shadow forces rerender in Cards #835 #959

Merged

Conversation

CookiesAndCoffee
Copy link
Contributor

The shadow forces the controls to rerender on a simple change to the controls within a card. (i.e. checking/unchecking a checkbox). To resolve problem, I simply moved the Shadow from the grid to the AdornerDecorator.

Explanation:
https://stackoverflow.com/questions/6436501/wpf-why-does-text-and-elements-blur-if-i-use-dropshadow-effect-on-a-parent-item

Issue: #835

Copy link
Member

@Keboo Keboo left a 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. This should probably also be done to the ColorZone (in Generic.xaml). Do you want to submit a second PR for that one?

@Keboo Keboo added this to the 2.4.1 milestone Jul 19, 2018
@Keboo Keboo merged commit a1bad51 into MaterialDesignInXAML:master Jul 19, 2018
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