-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Various changes for cards and shadows #2765
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
Changes from 5 commits
2e1ee65
6855ad5
e798c89
5cda8e4
79bdaf8
b351e01
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,12 +11,27 @@ namespace MaterialDesignThemes.Wpf | |
|
|
||
| public enum ShadowDepth | ||
| { | ||
| #region ObseleteDepth | ||
| Depth0, | ||
| Depth1, | ||
| Depth2, | ||
| Depth3, | ||
| Depth4, | ||
| Depth5 | ||
| Depth5, | ||
| #endregion | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think actually putting the Obsolete attribute on these is a good idea. What are your thoughts on these suggested update values (since there are no exact equivalents)? [Obsolete("Use Depth_0dp instead")]
Depth0,
[Obsolete("Considersing Depth_2dp instead")]
Depth1,
[Obsolete("Considersing Depth_3dp instead")]
Depth2,
[Obsolete("Considersing Depth_7dp instead")]
Depth3,
[Obsolete("Considersing Depth_12dp instead")]
Depth4,
[Obsolete("Considersing Depth_24dp instead")]
Depth5,
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That sounds good to me |
||
|
|
||
| Depth_0dp, | ||
| Depth_1dp, | ||
| Depth_2dp, | ||
| Depth_3dp, | ||
| Depth_4dp, | ||
| Depth_5dp, | ||
| Depth_6dp, | ||
| Depth_7dp, | ||
| Depth_8dp, | ||
| Depth_12dp, | ||
| Depth_16dp, | ||
| Depth_24dp | ||
| } | ||
|
|
||
| [Flags] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To fix the pipeline failing on warnings. We can simply suppress these. This will ensure that people properly update their enum values before removing them in 5.x.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you, I'll do that