Altered TextInput scene to passthrough keyboard input instead of buffering it in a textarea.

This commit is contained in:
Roman Zupancic 2024-01-27 19:53:19 -05:00
parent fc363fe404
commit a21eb00c20
2 changed files with 17 additions and 30 deletions

View file

@ -24,11 +24,11 @@
<button class="bottom right" onclick="app.showTextInput()"></button>
</div>
<div id="text-input" class="scene">
<textarea class="grow" cols=1 rows=1></textarea>
<div class="buttons">
<div id="text-input" class="scene touch-input mouse-input keyboard-input">
<textarea placeholder="Touch to type" cols=1 rows=1></textarea>
<div class="flex-between">
<button onclick="app.showKeys('text-input', 1)"></button>
<button class="grow" id="send-text"></button>
<button id="send-text"></button>
</div>
</div>