fix(ui): hit-test the dragon button so the About dialog actually opens
Some checks failed
CI / build-and-test (push) Failing after 26s

WindowChrome.CaptionHeight=44 makes the top 44px of the window a drag region; the dragon-mark rail button lives within it. Without shell:WindowChrome.IsHitTestVisibleInChrome=True, clicks were being eaten by the drag handler instead of firing the button.
This commit is contained in:
Zac Gaetano 2026-05-08 13:52:59 -04:00
parent e8f52a3153
commit ff7e949466

View file

@ -53,12 +53,15 @@
BorderThickness="0,0,1,0">
<DockPanel LastChildFill="False">
<!-- Wild Dragon mark — real logo from wilddragon.net. Clickable: opens About. -->
<!-- Wild Dragon mark — real logo from wilddragon.net. Clickable: opens About.
Lives inside the chromeless title bar's drag region, so we opt into
hit-testing so clicks land on the button rather than starting a drag. -->
<Button DockPanel.Dock="Top"
Style="{StaticResource Wd.Button.RailIcon}"
Width="48" Height="56"
Margin="0,12,0,4"
Click="OnAboutClick"
shell:WindowChrome.IsHitTestVisibleInChrome="True"
ToolTip="About TeamsISO">
<StackPanel>
<Image Source="/Assets/dragon-mark.png"