diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/RenderedTextBlock.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/RenderedTextBlock.java index 59b827ef2..f7bf4ea3c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/RenderedTextBlock.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/RenderedTextBlock.java @@ -77,10 +77,6 @@ public class RenderedTextBlock extends Component { public String text(){ return text; } - - public float baseLine(){ - return size * zoom; - } public void maxWidth(int maxWidth){ if (this.maxWidth != maxWidth){ diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java index bd7c83faa..890e526ed 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java @@ -63,6 +63,6 @@ public class WndInfoBuff extends Window { txtInfo.setPos(titlebar.left(), titlebar.bottom() + GAP); add( txtInfo ); - resize( WIDTH, (int)(txtInfo.top() + txtInfo.height()) ); + resize( WIDTH, (int)txtInfo.bottom() + 2 ); } }