视频播放修改
This commit is contained in:
parent
ae5a2b0989
commit
6bb7da638f
|
|
@ -365,7 +365,7 @@ export default {
|
|||
// 重绘画布:只绘制当前正在画的线(已保存的线在另一个画布上显示,不会被清除)
|
||||
ctx.clearRect(0, 0, canvas.width, canvas.height)
|
||||
ctx.strokeStyle = '#ff0000'
|
||||
ctx.lineWidth = 2
|
||||
ctx.lineWidth = 3
|
||||
|
||||
// 绘制当前正在画的线
|
||||
if (this.currentLine) {
|
||||
|
|
@ -427,7 +427,7 @@ export default {
|
|||
const lineToDraw = this.savedLine || this.line || this.initialLine
|
||||
if (lineToDraw) {
|
||||
ctx.strokeStyle = '#ff0000'
|
||||
ctx.lineWidth = 2
|
||||
ctx.lineWidth = 3
|
||||
ctx.beginPath()
|
||||
ctx.moveTo(lineToDraw.startX, lineToDraw.startY)
|
||||
ctx.lineTo(lineToDraw.endX, lineToDraw.endY)
|
||||
|
|
|
|||
Loading…
Reference in New Issue