Merge pull request '[1267] 500에러 - str => Number 변환 (Number로 한번더)' (#293) from dev into prd-deploy

Reviewed-on: #293
This commit is contained in:
ysCha 2025-08-20 19:03:17 +09:00
commit 475e981a4c

View File

@ -17,7 +17,7 @@ export const QLine = fabric.util.createClass(fabric.Line, {
initialize: function (points, options, length = 0) {
// 소수점 전부 제거
points = points.map((point) => Number(point?.toFixed(1)))
points = points.map((point) => Number(Number(point)?.toFixed(1)))
this.callSuper('initialize', points, { ...options, selectable: options.selectable ?? true })
if (options.id) {