Compare commits
No commits in common. "475e981a4cbe0941a56d82b74a2179ab2851f20f" and "fcf1f971ce84fae334563c2390d1e68a5bcec4af" have entirely different histories.
475e981a4c
...
fcf1f971ce
@ -17,7 +17,7 @@ export const QLine = fabric.util.createClass(fabric.Line, {
|
|||||||
initialize: function (points, options, length = 0) {
|
initialize: function (points, options, length = 0) {
|
||||||
// 소수점 전부 제거
|
// 소수점 전부 제거
|
||||||
|
|
||||||
points = points.map((point) => Number(Number(point)?.toFixed(1)))
|
points = points.map((point) => Number(point?.toFixed(1)))
|
||||||
|
|
||||||
this.callSuper('initialize', points, { ...options, selectable: options.selectable ?? true })
|
this.callSuper('initialize', points, { ...options, selectable: options.selectable ?? true })
|
||||||
if (options.id) {
|
if (options.id) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user