(e)
| 86 | } |
| 87 | |
| 88 | mouseup(e) { |
| 89 | if (this.started == false) { |
| 90 | return; |
| 91 | } |
| 92 | delete config.layer.link_canvas; |
| 93 | |
| 94 | app.State.do_action( |
| 95 | new app.Actions.Bundle_action('blur_tool', 'Blur Tool', [ |
| 96 | new app.Actions.Update_layer_image_action(this.tmpCanvas) |
| 97 | ]) |
| 98 | ); |
| 99 | |
| 100 | //decrease memory |
| 101 | this.tmpCanvas.width = 1; |
| 102 | this.tmpCanvas.height = 1; |
| 103 | this.tmpCanvas = null; |
| 104 | this.tmpCanvasCtx = null; |
| 105 | } |
| 106 | |
| 107 | blur_general(type, mouse, size, strength) { |
| 108 | var ctx = this.tmpCanvasCtx; |
no test coverage detected