mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Profile Editor - Fixed transforms breaking when hitting play
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user