mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-01 17:24:59 +00:00
optimize<Adorner>: move adorner management to Controls.Window
This commit is contained in:
parent
84a0e9f463
commit
580ff565d8
4 changed files with 60 additions and 49 deletions
|
@ -15,7 +15,7 @@
|
|||
Width="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Width, Mode=TwoWay}"
|
||||
Height="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Height, Mode=TwoWay}"
|
||||
Closing="OnClosing">
|
||||
<controls:DragDropAdornerLayer>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="28"/>
|
||||
<RowDefinition Height="*"/>
|
||||
|
@ -61,5 +61,5 @@
|
|||
Grid.Row="1"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Top"
|
||||
Width="330" Height="Auto"/>
|
||||
</controls:DragDropAdornerLayer>
|
||||
</Grid>
|
||||
</controls:Window>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue