Browse Source

Disabled update timer

Krzysztof Krysiński 2 years ago
parent
commit
01f0230a8d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/PixiEditor/ViewModels/ViewModelMain.cs

+ 3 - 2
src/PixiEditor/ViewModels/ViewModelMain.cs

@@ -171,9 +171,10 @@ internal class ViewModelMain : ViewModelBase
 
 
     private void InitUpdateTimer()
     private void InitUpdateTimer()
     {
     {
-        _updateTimer = new Timer(50);
+        // Enable this while implementing something that needs it
+        /*_updateTimer = new Timer(50);
         _updateTimer.Elapsed += UpdateTimerOnElapsed;
         _updateTimer.Elapsed += UpdateTimerOnElapsed;
-        _updateTimer.Start();
+        _updateTimer.Start();*/
     }
     }
 
 
     private void UpdateTimerOnElapsed(object sender, ElapsedEventArgs e)
     private void UpdateTimerOnElapsed(object sender, ElapsedEventArgs e)