chore(core): correct action name

This commit is contained in:
braks
2022-11-04 23:44:11 +01:00
committed by Braks
parent a19b4581a7
commit 8a51391c31
3 changed files with 18 additions and 3 deletions
+2 -2
View File
@@ -462,7 +462,7 @@ export default (state: State, getters: ComputedGetters): Actions => {
return [nodeRect, node, isRectObj]
}
const getIntersectionNodes: Actions['getIntersectionNodes'] = (nodeOrRect, partially = true, nodes) => {
const getIntersectingNodes: Actions['getIntersectingNodes'] = (nodeOrRect, partially = true, nodes) => {
const [nodeRect, node, isRect] = getNodeRect(nodeOrRect)
if (!nodeRect) return []
@@ -574,7 +574,7 @@ export default (state: State, getters: ComputedGetters): Actions => {
endConnection,
setInteractive,
setState,
getIntersectionNodes,
getIntersectingNodes,
isNodeIntersecting,
fitView: async (params = { padding: 0.1 }) => {
const { fitView } = await paneReady()
+1 -1
View File
@@ -221,7 +221,7 @@ export interface Actions extends ViewportFunctions {
updateNodeDimensions: UpdateNodeDimensions
/** returns all node intersections */
getIntersectionNodes: GetIntersectingNodes
getIntersectingNodes: GetIntersectingNodes
/** check if a node is intersecting with a defined area */
isNodeIntersecting: IsNodeIntersecting