mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Fix calculation
This commit is contained in:
@@ -1131,7 +1131,7 @@ class _ComicChaptersState extends State<_ComicChapters> {
|
|||||||
int length = eps.length;
|
int length = eps.length;
|
||||||
bool canShowAll = showAll;
|
bool canShowAll = showAll;
|
||||||
if (!showAll) {
|
if (!showAll) {
|
||||||
var width = constrains.crossAxisExtent;
|
var width = constrains.crossAxisExtent - 16;
|
||||||
var crossItems = width ~/ 200;
|
var crossItems = width ~/ 200;
|
||||||
if (width % 200 != 0) {
|
if (width % 200 != 0) {
|
||||||
crossItems += 1;
|
crossItems += 1;
|
||||||
|
Reference in New Issue
Block a user