Skip to content

Commit

Permalink
feat(Battlegrounds): reposition hero picking overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed May 13, 2024
1 parent cb4cb7a commit ebb7d72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
d:Visibility="Visible"
>
<!-- Centered over heroes -->
<Grid Margin="14,15,0,0" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid Margin="14,57,0,0" HorizontalAlignment="Center" VerticalAlignment="Center">
<ItemsControl
ItemsSource="{Binding HeroStats}"
d:ItemsSource="{d:SampleData ItemCount=4}"
Margin="-16,0"
>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid Height="480" Width="266" Margin="37,0">
<Grid Height="440" Width="266" Margin="37,0">
<heroPicking:BattlegroundsSingleHeroStats
SetSelectedHeroDbfIdCommand="{Binding SetSelectedHeroDbfIdCommand, RelativeSource={RelativeSource AncestorType=heroPicking:BattlegroundsHeroPicking}}"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<UserControl x:Class="Hearthstone_Deck_Tracker.Controls.Overlay.Battlegrounds.HeroPicking.BattlegroundsSingleHeroStats"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:lex="http://wpflocalizeextension.codeplex.com"
xmlns:heroPicking="clr-namespace:Hearthstone_Deck_Tracker.Controls.Overlay.Battlegrounds.HeroPicking"
xmlns:comp="clr-namespace:Hearthstone_Deck_Tracker.Controls.Overlay.Battlegrounds.Composition"
Expand All @@ -24,7 +24,7 @@
</Grid>

<!-- Hero Portrait Container -->
<Grid Background="#00ff00ff" Margin="0 0 0 60" Visibility="{Binding HeroPowerVisibility}"
<Grid Background="#00FF00FF" Margin="0 -115 0 0" Height="285" Visibility="{Binding HeroPowerVisibility}"
MouseEnter="Hero_MouseEnter" MouseLeave="Hero_MouseLeave" extensions:OverlayExtensions.IsOverlayHoverVisible="True">
</Grid>
</DockPanel>
Expand Down

0 comments on commit ebb7d72

Please sign in to comment.