Skip to content

Commit cf2962f

Browse files
committed
fix motion properties not working individually
1 parent 0a255ed commit cf2962f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: Runtime/Styling/Properties/StyleProperties.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ public static class StyleProperties
100100
public static readonly ValueListStyleProperty<float> transitionDelay = new ValueListStyleProperty<float>("transitionDelay", baseConverter: AllConverters.DurationConverter);
101101
public static readonly ValueListStyleProperty<AnimationPlayState> transitionPlayState = new ValueListStyleProperty<AnimationPlayState>("transitionPlayState");
102102

103-
public static readonly StyleProperty<float> motionDuration = new StyleProperty<float>("motionDuration", 0f, false);
103+
public static readonly StyleProperty<float> motionDuration = new StyleProperty<float>("motionDuration", 0f, false, false, AllConverters.DurationConverter);
104104
public static readonly StyleProperty<TimingFunction> motionTimingFunction = new StyleProperty<TimingFunction>("motionTimingFunction", TimingFunctions.Default, false);
105-
public static readonly StyleProperty<float> motionDelay = new StyleProperty<float>("motionDelay", 0f, false);
105+
public static readonly StyleProperty<float> motionDelay = new StyleProperty<float>("motionDelay", 0f, false, false, AllConverters.DurationConverter);
106106

107107
public static readonly ValueListStyleProperty<float> animationDelay = new ValueListStyleProperty<float>("animationDelay", baseConverter: AllConverters.DurationConverter);
108108
public static readonly ValueListStyleProperty<AnimationDirection> animationDirection = new ValueListStyleProperty<AnimationDirection>("animationDirection");

Diff for: Tests/Performance/ReactUnity.Tests.Performance.asmdef

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"GUID:347a20883bb61d74abf78fec0515bb21",
1414
"GUID:f3df39452b4b85c48b166389e7ca3670",
1515
"GUID:9a66a2efedc711946b7428ea9b41cc0d",
16-
"GUID:c0dd0d10738d4ad4a9de57c559d0ca1b",
17-
"GUID:1d91773c9af12264b8fcdd5d75ddeed5"
16+
"GUID:1d91773c9af12264b8fcdd5d75ddeed5",
17+
"GUID:c0dd0d10738d4ad4a9de57c559d0ca1b"
1818
],
1919
"includePlatforms": [],
2020
"excludePlatforms": [],

0 commit comments

Comments
 (0)