1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Core - Fixed layer properties base values not applying correctly

This commit is contained in:
SpoinkyNL 2020-09-06 20:18:43 +02:00
parent d03ca9c84a
commit f105a10e4d

View File

@ -93,10 +93,11 @@ namespace Artemis.Core
AddKeyframe(new LayerPropertyKeyframe<T>(value, time.Value, Easings.Functions.Linear, this));
else
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>