Skip to content

Commit

Permalink
chore: Use ElevationHelper in ContentDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Mar 24, 2022
1 parent 22399e9 commit e51583c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/ContentDialog/ContentDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ protected override void OnApplyTemplate()

#if HAS_UNO
// Uno specific: Apply shadow instead of Translation
m_tpBackgroundElementPart.SetElevation(30, Color.FromArgb(100, 0, 0, 0));
ElevationHelper.SetElevation(m_tpBackgroundElementPart, 30, Color.FromArgb(100, 0, 0, 0));
#endif
}

Expand Down

0 comments on commit e51583c

Please sign in to comment.