Skip to content

Commit f22e4b1

Browse files
authored
Alpha channel
1 parent 7cd4d33 commit f22e4b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upload-2.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ export default {
784784
ctx.clearRect(0, 0, that.width, that.height);
785785
786786
// 将透明区域设置为白色底边
787-
ctx.fillStyle = "#fff";
788-
ctx.fillRect(0, 0, that.width, that.height);
787+
// ctx.fillStyle = "#fff";
788+
// ctx.fillRect(0, 0, that.width, that.height);
789789
790790
ctx.translate(that.width * 0.5, that.height * 0.5);
791791
ctx.rotate(Math.PI * degree / 180);

0 commit comments

Comments
 (0)