Skip to content

Commit 149bcc5

Browse files
committed
Fix issue:Double click on the window titlebar to overwrite the taskbar( #172✈️
1 parent a049754 commit 149bcc5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/WPFDevelopers.Net40/Themes/Generic.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<Setter Property="SnapsToDevicePixels" Value="True" />
1818
<Setter Property="UseLayoutRounding" Value="True" />
1919
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
20-
<Setter Property="WindowStyle" Value="None" />
2120
<Setter Property="FontFamily" Value="{DynamicResource WD.FontFamily}" />
2221
<Setter Property="shell:WindowChrome.WindowChrome">
2322
<Setter.Value>
@@ -40,8 +39,8 @@
4039
</Grid.RowDefinitions>
4140
<Border
4241
Grid.Row="0"
43-
HorizontalAlignment="Stretch"
4442
Margin="0,0,-1,0"
43+
HorizontalAlignment="Stretch"
4544
Background="{TemplateBinding TitleBackground}" />
4645
<control:SmallPanel x:Name="PART_Normal" Grid.Row="0">
4746
<Grid Height="{TemplateBinding TitleHeight}">

src/WPFDevelopers.Net45x/Themes/Generic.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<Setter Property="SnapsToDevicePixels" Value="True" />
2020
<Setter Property="UseLayoutRounding" Value="True" />
2121
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
22-
<Setter Property="WindowStyle" Value="None" />
2322
<Setter Property="FontFamily" Value="{DynamicResource WD.FontFamily}" />
2423
<Setter Property="WindowChrome.WindowChrome">
2524
<Setter.Value>

0 commit comments

Comments
 (0)