Skip to content

DropShadowDirectionEffect: add AffectsRender for ShadowDepthProperty and DirectionProperty #17664

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

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

laolarou726
Copy link
Contributor

What does the pull request do?

Fixed an issue that value change on Depth and Directionwill not trigger the re-render for the shadow

What is the current behavior?

Now the changes will affect the render

What is the updated/expected behavior with this PR?

None

How was the solution implemented (if it's not obvious)?

added a static ctor for DropShadowDirectionEffect:

static DropShadowDirectionEffect()
{
    AffectsRender<DropShadowEffect>(ShadowDepthProperty, DirectionProperty);
}

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0053654-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@cla-avalonia
Copy link
Collaborator

cla-avalonia commented Dec 2, 2024

  • All contributors have signed the CLA.

@maxkatz6 maxkatz6 added the bug label Dec 2, 2024
@laolarou726
Copy link
Contributor Author

@cla-avalonia agree

@cla-avalonia agree

@laolarou726
Copy link
Contributor Author

@cla-avalonia agree

@maxkatz6 maxkatz6 enabled auto-merge December 3, 2024 11:01
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0053691-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Dec 3, 2024
Merged via the queue into AvaloniaUI:master with commit a42d874 Dec 3, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants