diff --git a/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/.suo b/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/.suo index 49c599f7..32bf6e6b 100644 Binary files a/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/.suo and b/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/.suo differ diff --git a/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/Server/sqlite3/storage.ide b/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/Server/sqlite3/storage.ide index 07eefdea..06f41bdb 100644 Binary files a/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/Server/sqlite3/storage.ide and b/FullScreen-WithKb/Actimage_OCR_2017/.vs/Actimage_OCR_2017/v15/Server/sqlite3/storage.ide differ diff --git a/FullScreen-WithKb/Actimage_OCR_2017/Assets/Scripts/MainScript.cs b/FullScreen-WithKb/Actimage_OCR_2017/Assets/Scripts/MainScript.cs index d66a976d..cf20ae6e 100644 --- a/FullScreen-WithKb/Actimage_OCR_2017/Assets/Scripts/MainScript.cs +++ b/FullScreen-WithKb/Actimage_OCR_2017/Assets/Scripts/MainScript.cs @@ -145,6 +145,7 @@ private void ClearLists() { foreach (var box in m_ResultBoxes) Destroy(box); + this.m_TextInputMesh.text = ""; this.m_ResultBoxes.Clear(); } @@ -174,7 +175,7 @@ private void Scan(string text) } else if (this.m_Searching) { - if (!string.IsNullOrEmpty(m_WordToSearch) || !string.IsNullOrEmpty(this.m_TextPromptMesh.text)) + if (!string.IsNullOrEmpty(m_WordToSearch) || !string.IsNullOrEmpty(this.m_TextInputMesh.text)) { if (Constants.CORRECTION_KEYWORD.Equals(text)) {