summaryrefslogtreecommitdiff
path: root/js/tool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tool.js')
-rw-r--r--js/tool.js1
1 files changed, 1 insertions, 0 deletions
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