From 8b5c60d1d51770f95c87d26e1e5a206d392ae8ea Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 4 Sep 2024 12:39:03 -0400 Subject: [PATCH] v2.5.0: fixed spacing issues caused by new icon in rankings scene --- core/src/main/assets/messages/scenes/scenes.properties | 2 +- .../shatteredpixeldungeon/scenes/RankingsScene.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/assets/messages/scenes/scenes.properties b/core/src/main/assets/messages/scenes/scenes.properties index ebbb6dec4..692b5678f 100644 --- a/core/src/main/assets/messages/scenes/scenes.properties +++ b/core/src/main/assets/messages/scenes/scenes.properties @@ -94,7 +94,7 @@ scenes.newsscene$newsinfo.no_internet=Couldn't check for news posts, make sure y scenes.newsscene$newsinfo.news_disabled=You have disabled checking for news posts, so none will appear here. scenes.newsscene$newsinfo.enable_news=Enable News -scenes.rankingsscene.title=Top Rankings +scenes.rankingsscene.title=Rankings scenes.rankingsscene.total=Games Played: scenes.rankingsscene.no_games=No games have been played yet. scenes.rankingsscene.no_info=No additional information diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/RankingsScene.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/RankingsScene.java index 6838016b4..8229092db 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/RankingsScene.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/RankingsScene.java @@ -160,8 +160,8 @@ public class RankingsScene extends PixelScene { } }; btnDailies.icon().hardlight(0.5f, 1f, 2f); - btnDailies.setRect( left, 0, 20, 20 ); - left += 20; + btnDailies.setRect( left, 0, 16, 20 ); + left += 16; add(btnDailies); }