fix: drag window won't stop (#326)

This commit is contained in:
leo 2024-08-06 15:12:44 +08:00
parent 2e433aa278
commit 1d15c4c95f
No known key found for this signature in database
10 changed files with 36 additions and 158 deletions

View file

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