diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-26 19:29:30 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-26 19:29:30 +0200 |
| commit | aaa6ce7d97f065b1a70719188d436be87d1674c7 (patch) | |
| tree | ac121ed336832ae721033abf5692b608a492e578 /js/app.js | |
| parent | 5f145fb65802844aa22563b67361b939f01d72fe (diff) | |
| parent | 4b7d6d32ed9e440dc08257148a2c10162a6e90f8 (diff) | |
Merge branch 'master' of lmno:ascii
Diffstat (limited to 'js/app.js')
| -rw-r--r-- | js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -58,7 +58,7 @@ function bind () { var ae = document.activeElement if (ae !== shader_textarea && ae !== import_textarea && ae !== username_input && ae !== upload_input) { - cursor_input.focus() + if (is_desktop) cursor_input.focus() } if (selecting) { @@ -69,6 +69,9 @@ function bind () { } }) window.addEventListener("touchend", function(){ + if (current_tool.name === "text") { + if (is_desktop) cursor_input.focus() + } dragging = false }) |
