mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
UI - My poor UI :< I regret starting this refactor
This commit is contained in:
1 parent
bbeb471754
commit
5e3d23af41
13 files changed
+130
-59
No files matched your search
@@ -3,7 +3,7 @@ using Artemis.Core.Utilities;
|
||||
|
||||
namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
{
|
||||
public class LayerPropertyKeyframe<T>
|
||||
public class LayerPropertyKeyframe<T> : BaseLayerPropertyKeyframe
|
||||
{
|
||||
private TimeSpan _position;
|
||||
|
||||
@@ -14,10 +14,18 @@ namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
EasingFunction = easingFunction;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The layer property this keyframe is applied to
|
||||
/// </summary>
|
||||
public LayerProperty<T> LayerProperty { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// The value of this keyframe
|
||||
/// </summary>
|
||||
public T Value { get; set; }
|
||||
|
||||
public TimeSpan Position
|
||||
/// <inheritdoc />
|
||||
public override TimeSpan Position
|
||||
{
|
||||
get => _position;
|
||||
set
|
||||
@@ -27,6 +35,9 @@ namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
}
|
||||
}
|
||||
|
||||
public Easings.Functions EasingFunction { get; set; }
|
||||
/// <inheritdoc />
|
||||
public sealed override Easings.Functions EasingFunction { get; set; }
|
||||
|
||||
internal override BaseLayerProperty BaseLayerProperty => LayerProperty;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user