Fix calculation

This commit is contained in:
2025-02-13 11:01:42 +08:00
parent 14c3e9ea43
commit ed124d0419

View File

@@ -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;