mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Upgraded to preview8
This commit is contained in:
1 parent
3c6d770ec2
commit
bf6674e44f
24 files changed
+117
-113
No files matched your search
@@ -59,7 +59,7 @@ public class PlaybackViewModel : ActivatableViewModelBase
|
||||
updateTimer.Start();
|
||||
Disposable.Create(() =>
|
||||
{
|
||||
// updateTimer.Stop();
|
||||
updateTimer.Stop();
|
||||
_settingsService.GetSetting("ProfileEditor.RepeatTimeline", true).Value = _repeating && _repeatTimeline;
|
||||
_settingsService.GetSetting("ProfileEditor.RepeatSegment", false).Value = _repeating && _repeatSegment;
|
||||
}).DisposeWith(d);
|
||||
|
||||
@@ -179,12 +179,12 @@ public class PropertyGroupViewModel : PropertyViewModelBase, IDisposable
|
||||
public void Dispose()
|
||||
{
|
||||
LayerPropertyGroup.VisibilityChanged -= LayerPropertyGroupOnVisibilityChanged;
|
||||
foreach (ViewModelBase viewModelBase in Children)
|
||||
while (Children.Any())
|
||||
{
|
||||
if (viewModelBase is IDisposable disposable)
|
||||
if (Children[0] is IDisposable disposable)
|
||||
disposable.Dispose();
|
||||
Children.RemoveAt(0);
|
||||
}
|
||||
|
||||
_keyframeSubscription.Dispose();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user