From f5959beb3e7be0cad649e1febe053fe017837fea Mon Sep 17 00:00:00 2001 From: Sour Date: Sat, 1 Jun 2024 13:24:56 +0900 Subject: [PATCH] UI: Upgrade Dock package Fixes issue that allowed floating dock windows when they were meant to be disabled (because they're not supported properly by the debugger) --- UI/Styles/DockStyles.xaml | 72 +++++++++++++++++++++++++-------------- UI/UI.csproj | 4 +-- 2 files changed, 49 insertions(+), 27 deletions(-) diff --git a/UI/Styles/DockStyles.xaml b/UI/Styles/DockStyles.xaml index e986ae38a..1e6d68b61 100644 --- a/UI/Styles/DockStyles.xaml +++ b/UI/Styles/DockStyles.xaml @@ -43,9 +43,10 @@ Padding="{TemplateBinding Padding}" Grid.Row="1" /> + BorderBrush="{TemplateBinding BorderBrush}" + VerticalAlignment="Top" + ContextFlyout="{DynamicResource ToolChromeControlContextMenu}" + Grid.Row="{Binding GripMode, Converter={x:Static converters:GripModeConverters.GridRowAutoHideConverter}}"> @@ -69,33 +70,54 @@ - - + + + + + + + Background="{TemplateBinding BorderBrush}" + Height="1" + VerticalAlignment="Top" + Grid.Row="{Binding GripMode, Converter={x:Static converters:GripModeConverters.GridRowAutoHideConverter}}" /> diff --git a/UI/UI.csproj b/UI/UI.csproj index 2683aba4e..1f37f10b7 100644 --- a/UI/UI.csproj +++ b/UI/UI.csproj @@ -97,8 +97,8 @@ - - + +