Skip to content

Commit

Permalink
enhance dragging experience (#14699)
Browse files Browse the repository at this point in the history
- created an invisible border to occupy the title bar to help with dragging experience
  • Loading branch information
dnenov authored Dec 6, 2023
1 parent 51ec92c commit 0d459b4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
<RowDefinition Height="55"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>

<!--Invisible border to help dragging the main window-->
<Border Grid.Row="0"
Background="Transparent"
MouseDown="PackageManagerPanel_MouseDown"/>
<!--Section/Row of the TitleBar it contains a TextBlock for the windows title and the close button-->
<!--The CloseButtonStyle and Color Styles are located in the DynamoModer.xaml file-->
<Grid x:Name="TitleBar"
Expand Down

0 comments on commit 0d459b4

Please sign in to comment.