Skip to content

Commit

Permalink
Merge pull request #6537 from unoplatform/dev/xygu/20210722/uwp-eleva…
Browse files Browse the repository at this point in the history
…ted-view-no-shadow

fix(elevatedview): shadow not appearing on uwp
  • Loading branch information
jeromelaban authored Jul 23, 2021
2 parents a28a3d5 + 94cafcd commit 3eeaf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI.Toolkit/ElevatedView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private void UpdateElevation()
// it will get the right shape (with rounded corners)
_border.SetElevationInternal(Elevation, ShadowColor);
#elif NETFX_CORE || NETCOREAPP
(ElevatedContent as DependencyObject).SetElevationInternal(Elevation, ShadowColor, _shadowHost as DependencyObject, CornerRadius);
_border.SetElevationInternal(Elevation, ShadowColor, _shadowHost as DependencyObject, CornerRadius);
#endif
}
}
Expand Down

0 comments on commit 3eeaf8d

Please sign in to comment.