Commit e069a742 by 杨明

fixed

1 parent 97bd4b61
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-17 16:07:55 * @Date: 2023-05-17 16:07:55
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-10 10:08:29 * @LastEditTime: 2023-07-16 15:11:28
* @FilePath: \scrm-micro-home\src\utils\drawing.js * @FilePath: \scrm-micro-home\src\utils\drawing.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -10,7 +10,7 @@ class Drawing { ...@@ -10,7 +10,7 @@ class Drawing {
constructor(el, canvasParams) { constructor(el, canvasParams) {
this.canvasId = el this.canvasId = el
let { width, height } = canvasParams let { width, height } = canvasParams
this.pixelRatio = 2 this.pixelRatio = 3
this.ctx = this.canvasId.getContext('2d') this.ctx = this.canvasId.getContext('2d')
width = this.toRpx(width) width = this.toRpx(width)
height = this.toRpx(height) height = this.toRpx(height)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!