From a0af6fda50d8fedb2e99e8f9d6cb82ba4e54968e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Fri, 19 Feb 2021 15:23:34 +0100 Subject: dont start timer before source is loaded --- Samples/ShowCase/ShowCase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Samples') 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 { -- cgit v1.3.1-4-g156e