fix image grid

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-15 16:40:44 +08:00
parent bdc524e486
commit 90349189ee
5 changed files with 11 additions and 15 deletions

View File

@@ -234,11 +234,7 @@ class LiveRoomChatPanel extends StatelessWidget {
src: uemote.url,
type: ImageType.emote,
width: isUpower ? uemote.width : uemote.width / devicePixelRatio,
height: uemote.height == null
? null
: isUpower
? uemote.height!
: uemote.height! / devicePixelRatio,
height: isUpower ? uemote.height : uemote.height / devicePixelRatio,
),
);
}