aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-02-19 15:23:34 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-02-19 15:23:34 +0100
commita0af6fda50d8fedb2e99e8f9d6cb82ba4e54968e (patch)
treecbf92687b490cc3b187cf1fdcfca30f6ee29eb53 /Samples
parent882c9d1ad4114f99f1b129b02109980382d72f82 (diff)
dont start timer before source is loaded
Diffstat (limited to 'Samples')
-rw-r--r--Samples/ShowCase/ShowCase.cs2
1 files changed, 1 insertions, 1 deletions
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 {