Skip to content

Commit cdbc336

Browse files
committed
v0.1.3
1 parent eb6301b commit cdbc336

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

dist/vue-croppa.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* vue-croppa v0.1.1
2+
* vue-croppa v0.1.3
33
* https://github.com/zhanziyang/vue-croppa
44
*
55
* Copyright (c) 2017 zhanziyang
@@ -777,6 +777,7 @@ var component = { render: function render() {
777777
paintBackground: function paintBackground() {
778778
var backgroundColor = !this.canvasColor || this.canvasColor == 'default' ? '#e6e6e6' : this.canvasColor;
779779
this.ctx.fillStyle = backgroundColor;
780+
this.ctx.clearRect(0, 0, this.realWidth, this.realHeight);
780781
this.ctx.fillRect(0, 0, this.realWidth, this.realHeight);
781782
},
782783
draw: function draw() {

dist/vue-croppa.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dist/build.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dist/build.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/croppa/vue-croppa.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)