Skip to content

Commit 9ea027e

Browse files
maiko3tattunMaiko
authored andcommitted
Fix drag and drop area in main window (stakira#1564)
Co-authored-by: Maiko <[email protected]>
1 parent e4de389 commit 9ea027e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenUtau/Views/MainWindow.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
Icon="/Assets/open-utau.ico"
1010
Title="{Binding Title}" MinWidth="300" MinHeight="200"
1111
KeyDown="OnKeyDown" PointerPressed="OnPointerPressed" Closing="WindowClosing"
12-
Focusable="True"
12+
Focusable="True" DragDrop.AllowDrop="True"
1313
TransparencyLevelHint="None">
1414
<Window.Styles>
1515
<Style Selector="Button,ToggleButton">
1616
<Setter Property="Focusable" Value="False"/>
1717
</Style>
1818
</Window.Styles>
1919
<Grid>
20-
<Grid Name="MainGrid" DragDrop.AllowDrop="True" Margin="{Binding $parent[1].WindowDecorationMargin}">
20+
<Grid Name="MainGrid" Margin="{Binding $parent[1].WindowDecorationMargin}">
2121
<Menu Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" HorizontalAlignment="Left" Height="24"
2222
Opened="OnMainMenuOpened" Closed="OnMainMenuClosed" PointerExited="OnMainMenuPointerLeave"
2323
ZIndex="1">

0 commit comments

Comments
 (0)