]> O.S.I.I.S - jp/crow.git/commitdiff
dont start timer before source is loaded
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 19 Feb 2021 14:23:34 +0000 (15:23 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 19 Feb 2021 14:23:34 +0000 (15:23 +0100)
Samples/ShowCase/ShowCase.cs

index fa1bcaa04b7245ab3cef9b62407889380423660c..8c2184b5e98e03d001743872a72b9b098d452ab6 100644 (file)
@@ -57,7 +57,7 @@ namespace ShowCase
                string source = "";
                int dirtyUndoLevel;
                TextBox editor;
-               Stopwatch reloadChrono = Stopwatch.StartNew ();
+               Stopwatch reloadChrono = new Stopwatch ();
 
                public new bool IsDirty { get { return undoStack.Count != dirtyUndoLevel; } }
                public string Source {