Skip to content

Commit 9bf5174

Browse files
committed
feat: health indicator on spell queue
1 parent 8250116 commit 9bf5174

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

SleepHunter/Templates/SpellQueueDataTemplate.xaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,23 @@
4848
FontSize="12"
4949
Margin="2"/>
5050
</Border>
51-
51+
52+
<Border x:Name="HealthBorder"
53+
Background="{DynamicResource ObsidianBackground}"
54+
BorderThickness="0"
55+
CornerRadius="4"
56+
HorizontalAlignment="Right"
57+
VerticalAlignment="Bottom"
58+
Margin="0"
59+
ToolTip="This spell is waiting on a health threshold."
60+
Visibility="{Binding Path=IsWaitingOnHealth, Converter={StaticResource VisibilityConverter}}">
61+
<TextBlock Name="HealthIcon"
62+
Style="{StaticResource ObsidianSymbolText}"
63+
Text="&#x1f497;"
64+
FontSize="12"
65+
Margin="4,2"/>
66+
</Border>
67+
5268
</Grid>
5369
</Border>
5470

0 commit comments

Comments
 (0)