diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-15 12:34:51 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-15 12:34:51 +0200 |
| commit | f1a446b5eb783bafc16ad5c6167b3876e7860dc6 (patch) | |
| tree | 90a8537462a786b8984de917254c4aabbb4c8a15 /js | |
| parent | 2816501f853c09fda63c239ed37f3fc614ff3c7a (diff) | |
cursor input
Diffstat (limited to 'js')
| -rw-r--r-- | js/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,9 @@ function bind () { } }) window.addEventListener("touchend", function(){ + if (current_tool.name === "text") { + if (is_desktop) cursor_input.focus() + } dragging = false }) |
