diff options
| author | Julie Lala <jules@okfoc.us> | 2014-11-27 00:56:17 -0500 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-11-27 00:56:17 -0500 |
| commit | cebe1340f8c83bfceaca01fae923bc7d5fb2bff3 (patch) | |
| tree | ca1caea52783acfb80e2481dfc639d39f2cb19a7 /js/ui/controls.js | |
| parent | 8354e3f29c5eed2837cb6993b0c4fa7274962cbc (diff) | |
split out copy code, add img to color code thing
Diffstat (limited to 'js/ui/controls.js')
| -rw-r--r-- | js/ui/controls.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/ui/controls.js b/js/ui/controls.js index dcd95b8..c780c50 100644 --- a/js/ui/controls.js +++ b/js/ui/controls.js @@ -64,10 +64,12 @@ var controls = (function(){ shader_textarea.style.display = "block" // setTimeout(function(){ shader_textarea.focus() }) shader_textarea.focus() + clipboard.disable() } controls.shader.blur = function(){ Tool.prototype.blur.call(this) shader_textarea.style.display = "none" + clipboard.enable() } shader_textarea.value = demo_shader.innerHTML shader_textarea.addEventListener("input", function(){ |
