mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Make zooming in ItemManager image view easier
This commit is contained in:
@@ -566,7 +566,7 @@ public class ImageView<T extends InventoryItem> extends ItemView<T> {
|
||||
protected boolean zoom(float x, float y, float amount) {
|
||||
totalZoomAmount += amount;
|
||||
|
||||
float columnZoomAmount = Utils.AVG_FINGER_WIDTH;
|
||||
float columnZoomAmount = 2 * Utils.AVG_FINGER_WIDTH;
|
||||
while (totalZoomAmount >= columnZoomAmount) {
|
||||
setColumnCount(getColumnCount() - 1);
|
||||
totalZoomAmount -= columnZoomAmount;
|
||||
|
||||
Reference in New Issue
Block a user