Added keyframe creation outside the timeline

Added existing shape moving
This commit is contained in:
SpoinkyNL committed 2020-01-13 22:11:25 +01:00
1 parent ce2f05b135
commit e9677f2070
22 files changed
+178 -148

No files matched your search

@@ -60,7 +60,7 @@ namespace Artemis.UI.Services
}
private void UpdateProfilePreview()
public void UpdateProfilePreview()
{
if (SelectedProfile == null)
return;
@@ -78,6 +78,7 @@ namespace Artemis.UI.Services
}
_lastUpdateTime = CurrentTime;
OnProfilePreviewUpdated();
}
public event EventHandler SelectedProfileChanged;
@@ -85,6 +86,7 @@ namespace Artemis.UI.Services
public event EventHandler SelectedProfileElementChanged;
public event EventHandler SelectedProfileElementUpdated;
public event EventHandler CurrentTimeChanged;
public event EventHandler ProfilePreviewUpdated;
protected virtual void OnSelectedProfileElementUpdated()
{
@@ -110,5 +112,10 @@ namespace Artemis.UI.Services
{
CurrentTimeChanged?.Invoke(this, EventArgs.Empty);
}
protected virtual void OnProfilePreviewUpdated()
{
ProfilePreviewUpdated?.Invoke(this, EventArgs.Empty);
}
}
}