Skip to content

Commit

Permalink
fix(calendar): Fix possible blank year view when opening closing cale…
Browse files Browse the repository at this point in the history
…ndar picker multiple times
  • Loading branch information
dr1rrb authored and jeromelaban committed Jun 9, 2021
1 parent f838557 commit 02a25e8
Show file tree
Hide file tree
Showing 5 changed files with 1,025 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wasm="http://uno.ui/wasm"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="wasm">

<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
Expand Down Expand Up @@ -72,7 +75,8 @@
<Style TargetType="CalendarDatePicker" BasedOn="{StaticResource DefaultCalendarDatePicker}" />

<Style x:Key="DefaultCalendarDatePicker" TargetType="CalendarDatePicker">
<Setter Property="Foreground" Value="{ThemeResource CalendarDatePickerForeground}" />
<wasm:Setter Property="CalendarViewStyle" Value="{StaticResource CalendarViewCrippledAnimationStyle}" />
<Setter Property="Foreground" Value="{ThemeResource CalendarDatePickerForeground}" />
<Setter Property="Background" Value="{ThemeResource CalendarDatePickerBackground}" />
<Setter Property="BorderBrush" Value="{ThemeResource CalendarDatePickerBorderBrush}" />
<Setter Property="BorderThickness" Value="{ThemeResource CalendarDatePickerBorderThemeThickness}" />
Expand Down
Loading

0 comments on commit 02a25e8

Please sign in to comment.