|
188 | 188 | Height="{Binding DesignHeight, Mode=OneWay}" |
189 | 189 | HorizontalAlignment="Center" |
190 | 190 | VerticalAlignment="Center"> |
191 | | - <c:NonFaultyImageEx |
192 | | - x:Name="ImageEventImg" |
193 | | - x:FieldModifier="internal" |
194 | | - extension:UIElementExtensions.CursorType="Hand" |
195 | | - PointerPressed="ClickImageEventSpriteLink" |
196 | | - HorizontalAlignment="{x:Bind CurrentPresetConfig.GameEventButtonPosition.HorizontalAlignment, Mode=OneWay}" |
197 | | - VerticalAlignment="{x:Bind CurrentPresetConfig.GameEventButtonPosition.VerticalAlignment, Mode=OneWay}" |
198 | | - Height="{x:Bind CurrentPresetConfig.GameEventButtonPosition.VSize, Mode=OneWay}" |
199 | | - Margin="{x:Bind CurrentPresetConfig.GameEventButtonPosition.Position, Mode=OneWay}" |
200 | | - Source="{x:Bind CurrentGameBackgroundData.FeaturedEventIconUrl, Mode=OneWay, Converter={StaticResource UrlToCachedImagePathConverter}}" |
201 | | - Tag="{x:Bind CurrentGameBackgroundData.FeaturedEventIconClickLink, Mode=OneWay}" |
202 | | - Visibility="{x:Bind IsShowSidePanel, Converter={StaticResource BooleanVisibilityConverter}}"/> |
| 191 | + <Grid x:Name="ImageEventImg" |
| 192 | + x:FieldModifier="internal" |
| 193 | + extension:UIElementExtensions.CursorType="Hand" |
| 194 | + PointerPressed="ClickImageEventSpriteLink" |
| 195 | + PointerEntered="ImageEventImg_OnPointerEntered" |
| 196 | + PointerExited="ImageEventImg_OnPointerExited" |
| 197 | + HorizontalAlignment="{x:Bind CurrentPresetConfig.GameEventButtonPosition.HorizontalAlignment, Mode=OneWay}" |
| 198 | + VerticalAlignment="{x:Bind CurrentPresetConfig.GameEventButtonPosition.VerticalAlignment, Mode=OneWay}" |
| 199 | + Height="{x:Bind CurrentPresetConfig.GameEventButtonPosition.VSize, Mode=OneWay}" |
| 200 | + Margin="{x:Bind CurrentPresetConfig.GameEventButtonPosition.Position, Mode=OneWay}" |
| 201 | + Tag="{x:Bind CurrentGameBackgroundData.FeaturedEventIconClickLink, Mode=OneWay}" |
| 202 | + Visibility="{x:Bind IsShowSidePanel, Converter={StaticResource BooleanVisibilityConverter}}"> |
| 203 | + <c:NonFaultyImageEx |
| 204 | + x:Name="ImageEventImgNormal" |
| 205 | + x:FieldModifier="internal" |
| 206 | + Source="{x:Bind CurrentGameBackgroundData.FeaturedEventIconUrl, Mode=OneWay, Converter={StaticResource UrlToCachedImagePathConverter}}"/> |
| 207 | + <c:NonFaultyImageEx |
| 208 | + x:Name="ImageEventImgHover" |
| 209 | + x:FieldModifier="internal" |
| 210 | + Source="{x:Bind CurrentGameBackgroundData.FeaturedEventIconHoverUrl, Mode=OneWay, Converter={StaticResource UrlToCachedImagePathConverter}}" |
| 211 | + Visibility="Collapsed"/> |
| 212 | + </Grid> |
203 | 213 | </Grid> |
204 | 214 | </Grid> |
205 | 215 | </Viewbox> |
|
0 commit comments