summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js
index 729f0d0..6afbbcc 100644
--- a/js/app.js
+++ b/js/app.js
@@ -69,6 +69,9 @@ function bind () {
}
})
window.addEventListener("touchend", function(){
+ if (current_tool.name === "text") {
+ if (is_desktop) cursor_input.focus()
+ }
dragging = false
})