Skip to content

Commit

Permalink
C3 颜色调整
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaochaos committed May 15, 2020
1 parent d9f935c commit 881fe6f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 30 additions & 17 deletions src/components/renderer/RendererResImage.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function toBase64(file, width, height) {
ctx.fillRect(0, 0, width, height)
ctx.drawImage(img, 0, 0, width, height);

resolve(canvas.toDataURL(file.type, 0.8));
resolve(canvas.toDataURL(file.type, 0.9));
};
})
}

0 comments on commit 881fe6f

Please sign in to comment.