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 May 31, 2022
1 parent f9b482a commit 8f8bec4
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 @@ -218,7 +218,7 @@ protected override void OnApplyTemplate()
_templateApplied = true;
#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 8f8bec4

Please sign in to comment.