Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

修复关注的直播列表滚动导致的错位问题 #1522

Merged
merged 1 commit into from
Oct 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/App/Controls/Live/LiveItem/LiveItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@
<controls:CardPanel
AutomationProperties.Name="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=ViewModel.Data.Identifier.Title}"
Width="120"
Height="176"
Command="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=ViewModel.PlayCommand}"
IsEnableCheck="False"
IsEnableHoverAnimation="False">
Expand Down Expand Up @@ -293,7 +294,7 @@
<TextBlock
Style="{StaticResource CaptionTextBlockStyle}"
HorizontalAlignment="Center"
MaxLines="3"
MaxLines="2"
Text="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=ViewModel.Data.Identifier.Title}"
TextAlignment="Center"
TextTrimming="CharacterEllipsis" />
Expand Down