Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Wpf.Ui/Controls/TitleBar/TitleBar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,13 @@
Grid.Column="1"
ButtonType="Minimize" />

<!-- This button has HitTestVisible=false to workaround an issue with touch input firing twice. -->
<!-- Maximizing is handled through the WM_NCLBUTTONUP hwndhook, so this button is only cosmetic. -->
<controls:TitleBarButton
x:Name="PART_MaximizeButton"
Grid.Column="2"
ButtonType="Maximize"
IsHitTestVisible="True" />
IsHitTestVisible="False" />

<controls:TitleBarButton
x:Name="PART_CloseButton"
Expand Down
Loading