From 15e7df60859f9d9169afd450956ce35454b24f83 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 4 Jul 2024 14:12:39 +0800 Subject: [PATCH] ux: disable WordWrap in side-by-side diff because it may lead to alignment issue between two sides --- src/Views/DiffView.axaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Views/DiffView.axaml b/src/Views/DiffView.axaml index e3680140..cd100b6d 100644 --- a/src/Views/DiffView.axaml +++ b/src/Views/DiffView.axaml @@ -66,8 +66,14 @@ Background="Transparent" Padding="9,6" IsChecked="{Binding Source={x:Static vm:Preference.Instance}, Path=EnableDiffViewWordWrap, Mode=TwoWay}" - IsVisible="{Binding IsTextDiff}" ToolTip.Tip="{DynamicResource Text.Diff.ToggleWordWrap}"> + + + + + + +