We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7fdb3b commit 741fa69Copy full SHA for 741fa69
Assets/HoloToolkit/UX/Scripts/Keyboard.cs
@@ -322,6 +322,10 @@ public void OnDictationHypothesis(DictationEventData eventData)
322
/// <param name="eventData">Dictation event data</param>
323
public void OnDictationResult(DictationEventData eventData)
324
{
325
+ if (eventData.used)
326
+ {
327
+ return;
328
+ }
329
var text = eventData.DictationResult;
330
ResetClosingTime();
331
if (text != null)
@@ -332,6 +336,7 @@ public void OnDictationResult(DictationEventData eventData)
332
336
m_CaretPosition += text.Length;
333
337
334
338
UpdateCaretPosition(m_CaretPosition);
339
+ eventData.Use();
335
340
}
341
342
0 commit comments