Compare commits
No commits in common. "7ec9854173531e6872dc158620299bc63f00d697" and "1ba9853a3229e90769ca4cfa5389744acba459f9" have entirely different histories.
7ec9854173
...
1ba9853a32
@ -79,9 +79,6 @@ export function useEvent() {
|
|||||||
// 마우스 위치 기준으로 확대/축소
|
// 마우스 위치 기준으로 확대/축소
|
||||||
canvas.zoomToPoint({ x: opt.e.offsetX, y: opt.e.offsetY }, zoom)
|
canvas.zoomToPoint({ x: opt.e.offsetX, y: opt.e.offsetY }, zoom)
|
||||||
|
|
||||||
canvas.requestRenderAll()
|
|
||||||
canvas.calcOffset()
|
|
||||||
|
|
||||||
// 이벤트의 기본 동작 방지 (스크롤 방지)
|
// 이벤트의 기본 동작 방지 (스크롤 방지)
|
||||||
opt.e.preventDefault()
|
opt.e.preventDefault()
|
||||||
opt.e.stopPropagation()
|
opt.e.stopPropagation()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user