Reduce page entry count to 15 - resolves #95

This commit is contained in:
Luck 2016-12-22 22:06:41 +00:00
parent d3e60487bb
commit bfc79c6051
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -211,7 +211,7 @@ public class Util {
} }
int index = pageNumber - 1; int index = pageNumber - 1;
List<List<Node>> pages = divideList(l, 20); List<List<Node>> pages = divideList(l, 15);
if ((index < 0 || index >= pages.size())) { if ((index < 0 || index >= pages.size())) {
pageNumber = 1; pageNumber = 1;