Browse Source
Merge pull request #4583 from AvaloniaUI/fixes/window-hit-testing
fix window hit testing.
pull/4593/head
danwalmsley
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
src/Avalonia.Themes.Default/Window.xaml
-
src/Avalonia.Themes.Fluent/Window.xaml
|
|
|
@ -8,6 +8,7 @@ |
|
|
|
<Panel> |
|
|
|
<Border Name="PART_TransparencyFallback" IsHitTestVisible="False" /> |
|
|
|
<Border Background="{TemplateBinding Background}" IsHitTestVisible="False" /> |
|
|
|
<Panel Background="Transparent" Margin="{TemplateBinding WindowDecorationMargin}" /> |
|
|
|
<VisualLayerManager> |
|
|
|
<VisualLayerManager.ChromeOverlayLayer> |
|
|
|
<TitleBar /> |
|
|
|
|
|
|
|
@ -9,6 +9,7 @@ |
|
|
|
<Panel> |
|
|
|
<Border Name="PART_TransparencyFallback" IsHitTestVisible="False" /> |
|
|
|
<Border Background="{TemplateBinding Background}" IsHitTestVisible="False" /> |
|
|
|
<Panel Background="Transparent" Margin="{TemplateBinding WindowDecorationMargin}" /> |
|
|
|
<VisualLayerManager> |
|
|
|
<VisualLayerManager.ChromeOverlayLayer> |
|
|
|
<TitleBar /> |
|
|
|
|