Merge branch 'dev' into feature/dev-yj-surface

This commit is contained in:
yjnoh 2025-03-20 18:00:30 +09:00
commit 617afb8b1f

View File

@ -186,7 +186,7 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
this.lines = [] this.lines = []
this.getCurrentPoints().forEach((point, i) => { this.getCurrentPoints().forEach((point, i) => {
const nextPoint = this.points[(i + 1) % this.points.length] const nextPoint = this.getCurrentPoints()[(i + 1) % this.points.length]
const line = new QLine([point.x, point.y, nextPoint.x, nextPoint.y], { const line = new QLine([point.x, point.y, nextPoint.x, nextPoint.y], {
stroke: this.stroke, stroke: this.stroke,
strokeWidth: this.strokeWidth, strokeWidth: this.strokeWidth,