mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-01-02 10:43:31 +00:00
Editor - Refactored tools and selected keyframes management Timeline - Added keyframe duplicating, copying and pasting Windows UI - Added logging of fatal exceptions
25 lines
615 B
C#
25 lines
615 B
C#
using Artemis.Core;
|
|
using Artemis.Storage.Entities.Profile;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Artemis.UI.Models;
|
|
|
|
public class KeyframeClipboardModel
|
|
{
|
|
public const string ClipboardDataFormat = "Artemis.Keyframes";
|
|
|
|
[JsonConstructor]
|
|
public KeyframeClipboardModel()
|
|
{
|
|
}
|
|
|
|
public KeyframeClipboardModel(ILayerPropertyKeyframe keyframe)
|
|
{
|
|
KeyframeEntity entity = keyframe.GetKeyframeEntity();
|
|
Path = keyframe.UntypedLayerProperty.Path;
|
|
Entity = entity;
|
|
}
|
|
|
|
public string Path { get; set; } = null!;
|
|
public KeyframeEntity Entity { get; set; } = null!;
|
|
} |