Make zooming in ItemManager image view easier

This commit is contained in:
drdev
2014-10-03 19:26:05 +00:00
parent 4b9aa2515d
commit be5086e7f4

View File

@@ -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;