Skip to content

Commit

Permalink
fix: slow save triangle for navigation (#3403)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Nov 1, 2024
1 parent c4b9553 commit dcf811c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/utils/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ export class NavigationItemSafeTriangle {
const tipX = this.getTriangleTipX();
const tipY = this.getTriangleTipY();

const lb = `${tipX}px ${tipY + this.triangleData.padding}px`;
const lt = `${tipX}px ${tipY - this.triangleData.padding}px`;
const lb = `${tipX}px ${tipY}px`;
const lt = `${tipX}px ${tipY}px`;

return {
lb,
Expand Down

0 comments on commit dcf811c

Please sign in to comment.