Core - Fixed layer properties base values not applying correctly

This commit is contained in:
SpoinkyNL committed 2020-09-06 20:18:43 +02:00
1 parent a975629f99
commit 85f57d3ef0
1 file changed
+4 -3
@@ -93,10 +93,11 @@ namespace Artemis.Core
AddKeyframe(new LayerPropertyKeyframe<T>(value, time.Value, Easings.Functions.Linear, this)); AddKeyframe(new LayerPropertyKeyframe<T>(value, time.Value, Easings.Functions.Linear, this));
else else
currentKeyframe.Value = value; currentKeyframe.Value = value;
// Update the property so that the new keyframe is reflected on the current value
Update(0);
} }
// Force an update so that the base value is applied to the current value and
// keyframes/data bindings are applied using the new base value
Update(0);
} }
/// <summary> /// <summary>