fix: delete unused code

This commit is contained in:
ICMI 2021-04-19 20:47:14 +08:00 committed by Yanyan Wang
parent b032e1b543
commit 9f1aaaade6

View File

@ -60,6 +60,5 @@ export default {
// 缩放点放中间
const point = canvas.getPointByClient((posA.x + posB.x)/2, (posA.y + posB.y)/2);
this.graph.zoomTo(zoom, { x: point.x, y: point.y });
this.graph.emit('wheelzoom', evt);
},
};