mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 03:20:45 +00:00
null check
This commit is contained in:
@@ -183,7 +183,7 @@ public class FolderPreviewPanel extends JPanel {
|
||||
int cols = width / CELL_WIDTH;
|
||||
int rows = (int) Math.ceil(items.size() / (float) cols);
|
||||
int height = rows * CELL_HEIGHT;
|
||||
return (new Dimension(width, height));
|
||||
return new Dimension(width, height);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user