mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-31 17:53:32 +00:00
Core - Fixed layer properties base values not applying correctly
This commit is contained in:
parent
d03ca9c84a
commit
f105a10e4d
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user