From 4a3fdfe7f25d92e7cce08aae06ea9d44ac21916a Mon Sep 17 00:00:00 2001 From: scoliono <2191476+scoliono@users.noreply.github.com> Date: Thu, 18 Feb 2021 20:03:25 -0800 Subject: [PATCH] TTS timer starts even without webcam (closes #9) --- .gitignore | 2 ++ FemboyWatchdog/Toolbar.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1ee5385..ee02846 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +dist/ + ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## diff --git a/FemboyWatchdog/Toolbar.cs b/FemboyWatchdog/Toolbar.cs index 3225fa4..89a91b0 100644 --- a/FemboyWatchdog/Toolbar.cs +++ b/FemboyWatchdog/Toolbar.cs @@ -69,6 +69,7 @@ namespace FemboyWatchdog lastmousemvmtTimer.Tick += new EventHandler(lastmousemvmtTimer_Tick); OpenCamera(); + ttsTimer.Start(); } private void lastmousemvmtTimer_Tick(object sender, EventArgs e) @@ -184,7 +185,6 @@ namespace FemboyWatchdog vsp.VideoSource = source; vsp.Start(); this.Cursor = Cursors.Default; - ttsTimer.Start(); labelBlinkTimer.Start(); } catch { }