From: Jean-Philippe Bruyère Date: Fri, 19 Feb 2021 14:23:34 +0000 (+0100) Subject: dont start timer before source is loaded X-Git-Tag: v0.9.5-beta~67 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=a0af6fda50d8fedb2e99e8f9d6cb82ba4e54968e;p=jp%2Fcrow.git dont start timer before source is loaded --- diff --git a/Samples/ShowCase/ShowCase.cs b/Samples/ShowCase/ShowCase.cs index fa1bcaa0..8c2184b5 100644 --- a/Samples/ShowCase/ShowCase.cs +++ b/Samples/ShowCase/ShowCase.cs @@ -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 {