From f1a446b5eb783bafc16ad5c6167b3876e7860dc6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 15 Apr 2018 12:34:51 +0200 Subject: cursor input --- js/app.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js') 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 }) -- cgit v1.2.3-70-g09d2