mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix selection issue
This commit is contained in:
@@ -98,7 +98,7 @@ public class AchievementsPage extends TabPage<SettingsScreen> {
|
|||||||
float trophyWidth = FSkinImage.GOLD_TROPHY.getWidth() * trophyScale;
|
float trophyWidth = FSkinImage.GOLD_TROPHY.getWidth() * trophyScale;
|
||||||
float trophyHeight = FSkinImage.GOLD_TROPHY.getHeight() * trophyScale;
|
float trophyHeight = FSkinImage.GOLD_TROPHY.getHeight() * trophyScale;
|
||||||
float x = -getScrollLeft() + (w - TROPHIES_PER_SHELVE * trophyWidth) / 2;
|
float x = -getScrollLeft() + (w - TROPHIES_PER_SHELVE * trophyWidth) / 2;
|
||||||
float y = -getScrollTop() + FSkinImage.TROPHY_CASE_TOP.getHeight() * scale + (shelfHeight - trophyHeight - 12 * scale) / 2;
|
float y = -getScrollTop() + FSkinImage.TROPHY_CASE_TOP.getHeight() * scale + (shelfHeight - trophyHeight - 37 * scale) / 2;
|
||||||
|
|
||||||
int trophyCount = 0;
|
int trophyCount = 0;
|
||||||
float startX = x;
|
float startX = x;
|
||||||
|
|||||||
Reference in New Issue
Block a user