Re-enabled timeline scrolling and fixed the issues with it

This commit is contained in:
SpoinkyNL committed 2020-01-09 22:01:41 +01:00
1 parent 0958c3af9f
commit ecee78141d
6 files changed
+47 -24

No files matched your search

@@ -21,7 +21,7 @@ namespace Artemis.Core.Models.Profile.LayerProperties
/// <summary>
/// The value of the property with keyframes applied
/// </summary>
public T CurrentValue => (T) KeyframeEngine.GetCurrentValue();
public T CurrentValue => KeyframeEngine != null ? (T) KeyframeEngine.GetCurrentValue() : Value;
/// <summary>
/// A list of keyframes defining different values of the property in time, this list contains the strongly typed