Skip to content

Commit

Permalink
More text fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Dec 12, 2024
1 parent b2d8b2f commit 1be33bb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ public Dimension getPreferredSize() {

@Override
public void setBounds(int x, int y, int width, int height) {
Rectangle currentBounds = getBounds();
int currentWidth = currentBounds.width;
// boolean doResize = width - currentWidth > 3 || width - currentWidth < 0;
super.setBounds(x, y, width, height);
if (!isPreferredSizeSet()) {
fakePreferredSize = super.getPreferredSize();
Expand Down

0 comments on commit 1be33bb

Please sign in to comment.