Profile Editor - Fixed transforms breaking when hitting play

This commit is contained in:
Robert committed 2023-09-09 13:42:46 +02:00
1 parent 0fdb40bd35
commit 898ed19f29
2 files changed
+4 -3

No files matched your search

@@ -7,6 +7,7 @@ using Artemis.Core;
using Artemis.Core.Services;
using Artemis.UI.Shared;
using Artemis.UI.Shared.Services.ProfileEditor;
using Avalonia.Threading;
using ReactiveUI;
namespace Artemis.UI.Screens.ProfileEditor.Playback;
@@ -237,7 +238,7 @@ public class PlaybackViewModel : ActivatableViewModelBase
}
}
_profileEditorService.ChangeTime(newTime);
Dispatcher.UIThread.Invoke(() => _profileEditorService.ChangeTime(newTime));
}
finally
{