视频播放修改

This commit is contained in:
cwchen 2026-01-08 16:38:15 +08:00
parent ae5a2b0989
commit 6bb7da638f
1 changed files with 2 additions and 2 deletions

View File

@ -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)