Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDex committed Oct 18, 2023
1 parent 95058ec commit 2df991f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/controllers/SizeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ export class SizeController
}
else
{
this.innerText.scale.set(1);

const textWidth = this.innerText.width + paddingLeft + paddingRight;
const textHeight = this.innerText.height + paddingTop + paddingBottom;

Expand Down
2 changes: 0 additions & 2 deletions src/stories/basic/TransformContainer.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ class LayoutStory
});

this.layoutContainer.layout?.addContent(LOREM_TEXT);

this.resize(window.innerWidth, window.innerHeight);
}

async addTooltip(text: string)
Expand Down

0 comments on commit 2df991f

Please sign in to comment.