|
8 | 8 | <converters:BooleanToVisibilityConverter x:Key="InverseBoolToVisConverter" TrueValue="Collapsed" FalseValue="Visible"/>
|
9 | 9 | <converters:FloatingHintTransformConverter x:Key="FloatingHintTransformConverter" />
|
10 | 10 | <system:Double x:Key="NoContentFloatingScale">1.0</system:Double>
|
11 |
| - <SineEase x:Key="AnimationEasingFunction" EasingMode="EaseOut"/> |
| 11 | + <CubicEase x:Key="AnimationEasingFunction" EasingMode="EaseInOut"/> |
12 | 12 |
|
13 | 13 | <Style TargetType="{x:Type wpf:SmartHint}">
|
14 | 14 | <Setter Property="HorizontalAlignment" Value="Left"/>
|
|
35 | 35 | <VisualTransition From="*" To="HintRestingPosition">
|
36 | 36 | <Storyboard>
|
37 | 37 | <DoubleAnimation Storyboard.TargetName="SimpleHintTextBlock" Storyboard.TargetProperty="Opacity"
|
38 |
| - Duration="0:0:0.3" |
| 38 | + Duration="0:0:0.15" |
39 | 39 | EasingFunction="{StaticResource AnimationEasingFunction}"/>
|
40 | 40 | </Storyboard>
|
41 | 41 | </VisualTransition>
|
|
81 | 81 | <VisualTransition From="*" To="HintFloatingPosition">
|
82 | 82 | <Storyboard>
|
83 | 83 | <DoubleAnimation Storyboard.TargetName="FloatingHintTextBlock" Storyboard.TargetProperty="Opacity"
|
84 |
| - Duration="0:0:0.3" To="{TemplateBinding HintOpacity}" |
| 84 | + Duration="0:0:0.15" To="{TemplateBinding HintOpacity}" |
85 | 85 | EasingFunction="{StaticResource AnimationEasingFunction}"/>
|
86 | 86 | <DoubleAnimation Storyboard.TargetName="ScaleHost" Storyboard.TargetProperty="Scale"
|
87 |
| - Duration="0:0:0.3" To="1" |
| 87 | + Duration="0:0:0.15" To="1" |
88 | 88 | EasingFunction="{StaticResource AnimationEasingFunction}"/>
|
89 | 89 | </Storyboard>
|
90 | 90 | </VisualTransition>
|
91 | 91 | <VisualTransition From="*" To="HintRestingPosition">
|
92 | 92 | <Storyboard>
|
93 | 93 | <DoubleAnimation Storyboard.TargetName="FloatingHintTextBlock" Storyboard.TargetProperty="Opacity"
|
94 |
| - Duration="0:0:0.3" |
| 94 | + Duration="0:0:0.15" |
95 | 95 | EasingFunction="{StaticResource AnimationEasingFunction}"/>
|
96 | 96 | <DoubleAnimation Storyboard.TargetName="ScaleHost" Storyboard.TargetProperty="Scale"
|
97 |
| - Duration="0:0:0.3" |
| 97 | + Duration="0:0:0.15" |
98 | 98 | EasingFunction="{StaticResource AnimationEasingFunction}"/>
|
99 | 99 | </Storyboard>
|
100 | 100 | </VisualTransition>
|
|
0 commit comments