fix: begin drag was triggered when double click on the title bar

This commit is contained in:
leo 2024-06-13 17:55:22 +08:00
parent b77ed6520c
commit 762ec1f702
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
8 changed files with 119 additions and 16 deletions

View file

@ -26,7 +26,9 @@
Background="{DynamicResource Brush.TitleBar}"
BorderThickness="0,0,0,1" BorderBrush="{DynamicResource Brush.Border0}"
DoubleTapped="MaximizeOrRestoreWindow"
PointerPressed="BeginMoveWindow"/>
PointerPressed="BeginMoveWindow"
PointerMoved="MoveWindow"
PointerReleased="EndMoveWindow"/>
<!-- Caption Buttons (macOS) -->
<Border Grid.Column="0" IsVisible="{OnPlatform False, macOS=True}">