Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-07 12:39:01 +08:00
parent a5e8594611
commit 2d86daec83

View File

@@ -59,7 +59,7 @@ class NetworkImgLayer extends StatelessWidget {
Widget _buildImage(context) {
int? memCacheWidth, memCacheHeight;
if (callback?.call() == true || width <= height) {
if (ignoreHeight == true || callback?.call() == true || width <= height) {
memCacheWidth = width.cacheSize(context);
} else {
memCacheHeight = height.cacheSize(context);