From b4d19e469b3de98778002ac97814c6b647cba113 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Nov 2014 14:47:43 -0500 Subject: better chara input --- js/tool.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/tool.js') diff --git a/js/tool.js b/js/tool.js index 837c889..b0bc536 100644 --- a/js/tool.js +++ b/js/tool.js @@ -10,6 +10,7 @@ Tool.prototype.focus = function(){ current_tool = this this.span.classList.add('focused') this.use() + if (this.name != 'shader') { cursor_input.focus() } } Tool.prototype.blur = function(){ current_tool = null -- cgit v1.2.3-70-g09d2