From ed124d04192d79170a983b47b7b2eedbc8076b0e Mon Sep 17 00:00:00 2001 From: nyne Date: Thu, 13 Feb 2025 11:01:42 +0800 Subject: [PATCH] Fix calculation --- lib/pages/comic_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/comic_page.dart b/lib/pages/comic_page.dart index f39abcd..caeb801 100644 --- a/lib/pages/comic_page.dart +++ b/lib/pages/comic_page.dart @@ -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;