Browse Source

Fixed window not being draggable on linux

Krzysztof Krysiński 1 week ago
parent
commit
75e779e4c7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/PixiEditor/Views/Main/MainTitleBar.axaml

+ 4 - 1
src/PixiEditor/Views/Main/MainTitleBar.axaml

@@ -20,8 +20,11 @@
         <menu:MenuBarViewModel />
     </Design.DataContext>
     <Panel>
-        <Panel Background="{DynamicResource ThemeBackgroundBrush1}" IsHitTestVisible="False"/>
+        <Panel Background="{DynamicResource ThemeBackgroundBrush1}" IsHitTestVisible="False" />
         <DockPanel>
+            <DockPanel.Background>
+                <OnPlatform Default="{x:Null}" Linux="Transparent"/>
+            </DockPanel.Background>
             <dialogs:DialogTitleBar
                 DockPanel.Dock="Right">
                 <dialogs:DialogTitleBar.AdditionalElement>