mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
feat: 根据设备像素比调整画廊列表卡片和缩略图组件的尺寸计算,改善适配效果
This commit is contained in:
@@ -311,8 +311,8 @@ class _Thumbnail extends State<Thumbnail> {
|
||||
child: timg)
|
||||
: timg;
|
||||
return SizedBox(
|
||||
width: widget.width * dpr,
|
||||
height: widget.height * dpr,
|
||||
width: widget.width / dpr,
|
||||
height: widget.height / dpr,
|
||||
child: isLoading
|
||||
? const Center(child: CircularProgressIndicator())
|
||||
: _data != null
|
||||
|
||||
Reference in New Issue
Block a user