enable window dragging.
MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
xmlns:rxui="clr-namespace:Avalonia.ReactiveUI;assembly=Avalonia.ReactiveUI"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="WalletWasabi.Fluent.Views.MainView" TextBlock.Foreground="#A3A3A3">
- <SplitView OpenPaneLength="220" CompactPaneLength="20" IsPaneOpen="True" DisplayMode="CompactInline">
+ <SplitView PaneBackground="{x:Null}" OpenPaneLength="220" CompactPaneLength="20" IsPaneOpen="True" DisplayMode="CompactInline">
<SplitView.Pane>
- <ExperimentalAcrylicBorder DockPanel.Dock="Left">
+ <Panel>
+ <ExperimentalAcrylicBorder DockPanel.Dock="Left" IsHitTestVisible="False">
<ExperimentalAcrylicBorder.Material>
<ExperimentalAcrylicMaterial BackgroundSource="Digger"
TintColor="Black"
MaterialOpacity="0.6" />
</ExperimentalAcrylicBorder.Material>
- <local:NavBar DataContext="{Binding NavBar}" />
-
</ExperimentalAcrylicBorder>
+ <local:NavBar DataContext="{Binding NavBar}" />
+ </Panel>
</SplitView.Pane>
+ <Panel>
+ <Border Background="#212121" BoxShadow="0 1 4 #131313" IsHitTestVisible="False" />
<DockPanel>
<local:StatusBar DockPanel.Dock="Bottom" DataContext="{Binding StatusBar}" VerticalAlignment="Bottom" Height="32" TextBlock.FontSize="12" />
- <Border Background="#212121" BoxShadow="0 1 4 #131313">
<rxui:RoutedViewHost Router="{Binding Router}">
<rxui:RoutedViewHost.ViewLocator>
<vl:ScreenViewLocator />
VerticalAlignment="Center" />
</rxui:RoutedViewHost.DefaultContent>
</rxui:RoutedViewHost>
- </Border>
</DockPanel>
+ </Panel>
</SplitView>
</UserControl>

enable window dragging.