소스 검색

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)