From 17f2644e3d885c8aef170023c84933e5bd888402 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 10 May 2016 15:58:52 -0400 Subject: more convenient canvas.get syntax.. --- js/ui/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/ui/controls.js') diff --git a/js/ui/controls.js b/js/ui/controls.js index c191cc2..9139989 100644 --- a/js/ui/controls.js +++ b/js/ui/controls.js @@ -37,6 +37,7 @@ var controls = (function(){ controls.text = new Tool (text_el) controls.text.use = function(){ + current_filetool && current_filetool.blur() } controls.select = new Tool (select_el) @@ -111,7 +112,6 @@ var controls = (function(){ if (! selection.hidden) selection.reposition() this.update( state ) } - ClipboardTool = FileTool.extend({ blur: function(){ this.__blur() -- cgit v1.2.3-70-g09d2