mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
fix: delete unused code
This commit is contained in:
parent
b032e1b543
commit
9f1aaaade6
@ -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);
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user