@@ -190,7 +190,7 @@ export default {
width,
height
}
- const { x, y } = e
+ const { clientX: x, clientY: y } = e
content.x = x
content.y = y
contextMenu.style.left = x - left + 'px'