From 760e240db7d9d7d6c77415a001f1b7f32ec46fcb Mon Sep 17 00:00:00 2001 From: goran-w Date: Sat, 16 Nov 2024 18:39:04 +0100 Subject: [PATCH] The 2 implementations can now be switched Added a bool property DiffView.UseChangeBlocks. It's not bound from UI yet, but could be used for runtime switching between the two different implementations of prev/next change. The buttons are now using the OnGoto[Prev|Next]Change Click-handler, regardless of implementation. --- src/Views/DiffView.axaml | 4 ++-- src/Views/DiffView.axaml.cs | 46 ++++++++++++++++++++++++++----------- 2 files changed, 34 insertions(+), 16 deletions(-) diff --git a/src/Views/DiffView.axaml b/src/Views/DiffView.axaml index 4eca9de6..e904f4a4 100644 --- a/src/Views/DiffView.axaml +++ b/src/Views/DiffView.axaml @@ -36,7 +36,7 @@