refactor(handle): naming things, cleanup

This commit is contained in:
moklick
2023-01-19 15:52:39 +01:00
parent 5af609696b
commit 66b3a8e334
6 changed files with 225 additions and 205 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ const createRFStore = () =>
nodeInternals: new Map(nodeInternals),
});
},
movePane: (delta: XYPosition) => {
panBy: (delta: XYPosition) => {
const { transform, width, height, d3Zoom, d3Selection, translateExtent } = get();
if (!d3Zoom || !d3Selection || (!delta.x && !delta.y)) {