forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Adjust TimePicker logic for Skia
# Conflicts: # src/Uno.UI/UI/Xaml/Media/ThemeShadow.cs
- Loading branch information
1 parent
4dab50e
commit 9b84510
Showing
7 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
namespace Microsoft.UI.Xaml.Media | ||
namespace Microsoft.UI.Xaml.Media; | ||
|
||
/// <summary> | ||
/// A ThemeShadow is a preconfigured shadow effect that can be applied to any XAML element to draw shadows appropriately based on x,y,z coordinates. | ||
/// ThemeShadow also automatically adjusts for other environmental specifications. | ||
/// - Adapts to changes in lighting, user theme, app environment, and shell. | ||
/// - Shadows elements automatically based on their elevation. | ||
/// - Keeps elements in sync as they move and change elevation. | ||
/// - Keeps shadows consistent throughout and across applications. | ||
/// </summary> | ||
public partial class ThemeShadow : Shadow | ||
{ | ||
/// <summary> | ||
/// A ThemeShadow is a preconfigured shadow effect that can be applied to any XAML element to draw shadows appropriately based on x,y,z coordinates. | ||
/// ThemeShadow also automatically adjusts for other environmental specifications. | ||
/// - Adapts to changes in lighting, user theme, app environment, and shell. | ||
/// - Shadows elements automatically based on their elevation. | ||
/// - Keeps elements in sync as they move and change elevation. | ||
/// - Keeps shadows consistent throughout and across applications. | ||
/// Initializes a new instance of the ThemeShadow class. | ||
/// </summary> | ||
public partial class ThemeShadow : Shadow | ||
public ThemeShadow() | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ThemeShadow class. | ||
/// </summary> | ||
public ThemeShadow() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Gets a collection of UI elements that this ThemeShadow is cast on. | ||
/// </summary> | ||
public UIElementWeakCollection Receivers { get; } = new UIElementWeakCollection(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets a collection of UI elements that this ThemeShadow is cast on. | ||
/// </summary> | ||
public UIElementWeakCollection Receivers { get; } = new UIElementWeakCollection(); | ||
|
||
// Lifted Xaml had an old projected shadow code path that we're keeping around (disabled) as insurance. All shadows | ||
// are going through the drop shadow code path, hence we just return true here. | ||
internal static bool IsDropShadowMode => true; | ||
} |