From 0b42e7f5100552d329e5a8503bec7ad8285c4b30 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 5 Feb 2022 11:37:56 +0100 Subject: [PATCH] Profile editor - Reset time to zero when opening a new profile --- .../Services/ProfileEditor/ProfileEditorService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Avalonia/Artemis.UI.Shared/Services/ProfileEditor/ProfileEditorService.cs b/src/Avalonia/Artemis.UI.Shared/Services/ProfileEditor/ProfileEditorService.cs index e36a75d43..b5b8a61ef 100644 --- a/src/Avalonia/Artemis.UI.Shared/Services/ProfileEditor/ProfileEditorService.cs +++ b/src/Avalonia/Artemis.UI.Shared/Services/ProfileEditor/ProfileEditorService.cs @@ -160,6 +160,7 @@ internal class ProfileEditorService : IProfileEditorService } _profileConfigurationSubject.OnNext(profileConfiguration); + ChangeTime(TimeSpan.Zero); } public void ChangeCurrentProfileElement(RenderProfileElement? renderProfileElement)