mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Reset selection when zooming
This commit is contained in:
@@ -123,6 +123,8 @@ public class AchievementsPage extends TabPage<SettingsScreen> {
|
||||
|
||||
@Override
|
||||
public boolean zoom(float x, float y, float amount) {
|
||||
selectedAchievement = null; //unselect when zooming
|
||||
|
||||
float oldScrollLeft = getScrollLeft();
|
||||
float oldScrollTop = getScrollTop();
|
||||
float oldScrollWidth = getScrollWidth();
|
||||
|
||||
Reference in New Issue
Block a user