Skip to content

Commit

Permalink
fix motion properties not working individually
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtGokhan committed Nov 3, 2024
1 parent 0a255ed commit cf2962f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Runtime/Styling/Properties/StyleProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ public static class StyleProperties
public static readonly ValueListStyleProperty<float> transitionDelay = new ValueListStyleProperty<float>("transitionDelay", baseConverter: AllConverters.DurationConverter);
public static readonly ValueListStyleProperty<AnimationPlayState> transitionPlayState = new ValueListStyleProperty<AnimationPlayState>("transitionPlayState");

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

public static readonly ValueListStyleProperty<float> animationDelay = new ValueListStyleProperty<float>("animationDelay", baseConverter: AllConverters.DurationConverter);
public static readonly ValueListStyleProperty<AnimationDirection> animationDirection = new ValueListStyleProperty<AnimationDirection>("animationDirection");
Expand Down
4 changes: 2 additions & 2 deletions Tests/Performance/ReactUnity.Tests.Performance.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"GUID:347a20883bb61d74abf78fec0515bb21",
"GUID:f3df39452b4b85c48b166389e7ca3670",
"GUID:9a66a2efedc711946b7428ea9b41cc0d",
"GUID:c0dd0d10738d4ad4a9de57c559d0ca1b",
"GUID:1d91773c9af12264b8fcdd5d75ddeed5"
"GUID:1d91773c9af12264b8fcdd5d75ddeed5",
"GUID:c0dd0d10738d4ad4a9de57c559d0ca1b"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down

0 comments on commit cf2962f

Please sign in to comment.