Skip to content

Commit b5723ed

Browse files
committed
fix transition speed on list toggle
1 parent 7459134 commit b5723ed

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

MainDemo.Wpf/Buttons.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
</ToggleButton>
281281
</StackPanel>
282282

283-
<ListBox Grid.Column="1" Grid.Row="0" Style="{StaticResource MaterialDesignToolToggleListBox}">
283+
<ListBox Grid.Column="1" Grid.Row="0" Style="{StaticResource MaterialDesignToolToggleListBox}" SelectedIndex="0">
284284
<ListBox.ToolTip>
285285
<StackPanel>
286286
<TextBlock Text="MaterialDesignToolToggleListBox" />

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListBox.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<Storyboard>
7777
<DoubleAnimation Storyboard.TargetName="SelectedBackgroundBorder"
7878
Storyboard.TargetProperty="Opacity"
79-
To="0" Duration="1"/>
79+
To="0" Duration="0"/>
8080
</Storyboard>
8181
</VisualTransition>
8282
</VisualStateGroup.Transitions>

web/images/modern-wpf.png

34.5 KB
Loading

web/images/modern-wpf.xcf

85.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)