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

Commit

Permalink
修复关注的直播列表滚动导致的错位问题 (#1522)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy authored Oct 10, 2022
1 parent 8e85ebb commit 7f221e4
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 7f221e4

Please sign in to comment.