mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
fix CardZoom not working
This commit is contained in:
@@ -66,9 +66,9 @@ public class CardZoom extends FOverlay {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void show(final List<?> items0, int currentIndex0, ActivateHandler activateHandler0) {
|
public static void show(final List<?> items0, int currentIndex0, ActivateHandler activateHandler0) {
|
||||||
|
items = items0;
|
||||||
if (items == null) { return; }
|
if (items == null) { return; }
|
||||||
if (currentIndex0 < 0 || items.size() <= currentIndex0) { return; }
|
if (currentIndex0 < 0 || items.size() <= currentIndex0) { return; }
|
||||||
items = items0;
|
|
||||||
activateHandler = activateHandler0;
|
activateHandler = activateHandler0;
|
||||||
currentIndex = currentIndex0;
|
currentIndex = currentIndex0;
|
||||||
initialIndex = currentIndex0;
|
initialIndex = currentIndex0;
|
||||||
|
|||||||
Reference in New Issue
Block a user