Skip to content

Commit

Permalink
fix: skia and IOS shadows not updating properly (backport #756) (#793)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc-Antoine-Soucy <90481654+Marc-Antoine-Soucy@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Marc-Antoine-Soucy committed Aug 31, 2023
1 parent 5e9d661 commit f9d765e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void OnSurfacePainted(object? sender, SKPaintSurfaceEventArgs e)
using var _ = canvas.SnapshotState();

var key =
FormattableString.Invariant($"[{contentAsFE.ActualWidth}x{contentAsFE.ActualHeight},{background}]: ") +
FormattableString.Invariant($"[{contentAsFE.ActualWidth}x{contentAsFE.ActualHeight},{_shadowHost.ActualWidth}x{_shadowHost.ActualHeight},{background}]: ") +
string.Join("; ", state.Shadows.Select(x => x.ToKey()));
if (Cache.TryGetValue(key, out var snapshot))
{
Expand Down

0 comments on commit f9d765e

Please sign in to comment.