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