Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-30 14:50:54 +08:00
parent 80fa0240e9
commit 8d94c0405f
115 changed files with 3150 additions and 1438 deletions

View File

@@ -66,7 +66,7 @@ class _ReplyPageState extends CommonRichTextPubPageState<LiveSendDmPanel> {
mainAxisSize: MainAxisSize.min,
children: [
...buildInputView(theme),
buildPanelContainer(theme, Colors.transparent),
Flexible(child: buildPanelContainer(theme, Colors.transparent)),
],
),
),

View File

@@ -177,7 +177,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
final size = MediaQuery.sizeOf(context);
maxWidth = size.width;
maxHeight = size.height;
isPortrait = maxHeight >= maxWidth;
isPortrait = size.isPortrait;
if (Platform.isAndroid) {
return Floating().isPipMode
? videoPlayerPanel(

View File

@@ -192,13 +192,16 @@ class LiveRoomChatPanel extends StatelessWidget {
final uemote = obj.uemote;
if (uemote != null) {
// "room_{{room_id}}_{{int}}" or "upower_[{{emote}}]"
final isUpower = uemote.isUpower;
return WidgetSpan(
child: NetworkImgLayer(
src: uemote.url,
type: ImageType.emote,
width: uemote.width / devicePixelRatio,
width: isUpower ? uemote.width : uemote.width / devicePixelRatio,
height: uemote.height == null
? null
: isUpower
? uemote.height!
: uemote.height! / devicePixelRatio,
semanticsLabel: obj.text,
),