浏览代码

Disabled update timer

Krzysztof Krysiński 2 年之前
父节点
当前提交
01f0230a8d
共有 1 个文件被更改,包括 3 次插入2 次删除
  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()
     {
-        _updateTimer = new Timer(50);
+        // Enable this while implementing something that needs it
+        /*_updateTimer = new Timer(50);
         _updateTimer.Elapsed += UpdateTimerOnElapsed;
-        _updateTimer.Start();
+        _updateTimer.Start();*/
     }
 
     private void UpdateTimerOnElapsed(object sender, ElapsedEventArgs e)