mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added keyframe creation outside the timeline
Added existing shape moving
This commit is contained in:
1 parent
ce2f05b135
commit
e9677f2070
22 files changed
+178
-148
No files matched your search
+2
-1
@@ -19,7 +19,7 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.LayerProperties
|
||||
{
|
||||
_kernel = kernel;
|
||||
_profileEditorService = profileEditorService;
|
||||
_keyframesEnabled = layerProperty.UntypedKeyframes.Any();
|
||||
_keyframesEnabled = layerProperty.IsUsingKeyframes;
|
||||
|
||||
LayerProperty = layerProperty;
|
||||
Parent = parent;
|
||||
@@ -56,6 +56,7 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.LayerProperties
|
||||
LayerProperty.ClearKeyframes();
|
||||
|
||||
// Force the keyframe engine to update, the new keyframe is the current keyframe
|
||||
LayerProperty.IsUsingKeyframes = _keyframesEnabled;
|
||||
LayerProperty.KeyframeEngine.Update(0);
|
||||
|
||||
_profileEditorService.UpdateSelectedProfileElement();
|
||||
|
||||
Reference in new issue
Block a user