Skip to content

Commit

Permalink
chore: update align line feature
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Mar 18, 2022
1 parent 2e60dd1 commit a90132a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/models/TreeNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export class TreeNode {
}

getAlignHLineFromVertex() {
return this.operation?.dragLine.getAlignVLineFromVertex(this)
return this.operation?.dragLine.getAlignHLineFromVertex(this)
}

getElement(area: 'viewport' | 'outline' = 'viewport') {
Expand Down

0 comments on commit a90132a

Please sign in to comment.