mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Profile editor - Fix update timer frequency which was causing freezes
This commit is contained in:
1 parent
a9d4bd2385
commit
c18f542a61
3 files changed
+3
-3
No files matched your search
@@ -66,7 +66,7 @@ public class NodeScriptWindowViewModel : NodeScriptWindowViewModelBase
|
||||
{
|
||||
_keyBindingsEnabled = Shared.UI.CurrentKeyBindingsEnabled.ToProperty(this, vm => vm.KeyBindingsEnabled).DisposeWith(d);
|
||||
|
||||
Timer updateTimer = new(TimeSpan.FromMilliseconds(25.0 / 1000));
|
||||
Timer updateTimer = new(TimeSpan.FromMilliseconds(25));
|
||||
Timer saveTimer = new(TimeSpan.FromMinutes(2));
|
||||
|
||||
updateTimer.Elapsed += (_, _) => Update();
|
||||
|
||||
Reference in new issue
Block a user