Skip to content

Commit

Permalink
fix click now registering when image is not present #95
Browse files Browse the repository at this point in the history
  • Loading branch information
insomniachi committed Jun 16, 2024
1 parent 3517500 commit 0d55b9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Totoro.WinUI/Totoro.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PackageReference Include="H.NotifyIcon.WinUI" Version="2.0.131" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240428000" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240607001" />
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
<PackageReference Include="ReactiveMarbles.ObservableEvents.SourceGenerator" Version="1.3.1">
<PrivateAssets>all</PrivateAssets>
Expand Down
7 changes: 4 additions & 3 deletions Totoro.WinUI/UserControls/AnimeCard.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@
<Grid
Grid.Row="0"
Grid.RowSpan="2"
CornerRadius="5 5 0 0">
CornerRadius="5 5 0 0"
Tapped="ImageEx_Tapped"
Background="{ThemeResource CardBackgroundFillColorDefault}">
<Image
CacheMode="BitmapCache"
Source="{x:Bind Anime.Image, Mode=OneWay}"
Stretch="UniformToFill"
Tapped="ImageEx_Tapped" />
Stretch="UniformToFill" />
<Button
x:Name="MoreButton"
Width="45"
Expand Down

0 comments on commit 0d55b9c

Please sign in to comment.