diff --git a/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java b/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java index 54260659e01..821b8dd4c3e 100644 --- a/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java +++ b/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java @@ -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();