mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Profile editor - Fixed keyframe positions of groups not updating
This commit is contained in:
1 parent
13d2ee0c3b
commit
ecbc3e4f35
2 files changed
+3
-1
No files matched your search
+1
@@ -27,6 +27,7 @@ public class TimelineGroupViewModel : ActivatableViewModelBase
|
||||
PropertyGroupViewModel.Keyframes
|
||||
.ToObservableChangeSet()
|
||||
.AutoRefreshOnObservable(_ => profileEditorService.PixelsPerSecond)
|
||||
.AutoRefreshOnObservable(k => k.WhenAnyValue(kv => kv.Position))
|
||||
.Transform(k => k.Position.TotalSeconds * _pixelsPerSecond, true)
|
||||
.Bind(out ReadOnlyObservableCollection<double> keyframePositions)
|
||||
.Subscribe()
|
||||
|
||||
Reference in new issue
Block a user