Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wicenec committed Jan 24, 2024
1 parent d1e3206 commit fd60ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ export class GraphRenderer {
const nodeRadius : number = node.getRadius()

//checking if the node is fully inside the selection box
if (centerX+-nodeRadius >= realLeft && realRight+-nodeRadius >= centerX && centerY+-nodeRadius >= realTop && realBottom+-nodeRadiusw >= centerY){
if (centerX+-nodeRadius >= realLeft && realRight+-nodeRadius >= centerX && centerY+-nodeRadius >= realTop && realBottom+-nodeRadius >= centerY){
result.push(node);
}
}
Expand Down

0 comments on commit fd60ffc

Please sign in to comment.