From eba5d456f09cc5da9d0f02a5379948465bd51158 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 6 Apr 2021 10:59:50 +0800 Subject: [PATCH] style<*>: enable SnapsToDevicePixels for borders --- src/UI/Dashboard.xaml | 4 +- src/UI/PopupManager.xaml | 2 +- src/UI/Stashes.xaml | 175 +++++++------- src/UI/WorkingCopy.xaml | 507 +++++++++++++++++++-------------------- 4 files changed, 332 insertions(+), 356 deletions(-) diff --git a/src/UI/Dashboard.xaml b/src/UI/Dashboard.xaml index 3f4c60bc..7ea1e495 100644 --- a/src/UI/Dashboard.xaml +++ b/src/UI/Dashboard.xaml @@ -111,7 +111,7 @@ - + @@ -481,7 +481,7 @@ - + diff --git a/src/UI/PopupManager.xaml b/src/UI/PopupManager.xaml index b05c6061..ec5f17ca 100644 --- a/src/UI/PopupManager.xaml +++ b/src/UI/PopupManager.xaml @@ -10,7 +10,7 @@ - + diff --git a/src/UI/Stashes.xaml b/src/UI/Stashes.xaml index d76e5601..0135bd87 100644 --- a/src/UI/Stashes.xaml +++ b/src/UI/Stashes.xaml @@ -18,68 +18,57 @@ + - + - - - - - - - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -88,45 +77,45 @@ + + + + + + + + + + + + + + + + + + - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/src/UI/WorkingCopy.xaml b/src/UI/WorkingCopy.xaml index 1134dfb0..e88572a6 100644 --- a/src/UI/WorkingCopy.xaml +++ b/src/UI/WorkingCopy.xaml @@ -29,26 +29,22 @@ - + + - + - - - - - - - - + + + @@ -58,8 +54,6 @@ - - @@ -78,144 +72,138 @@ + + + + + + + - - - - + + + - - - + + + - - - + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - + - - - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + @@ -224,8 +212,6 @@ - - @@ -237,132 +223,133 @@ + + + + + + + - - - - + + + - - - + + + - - - + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - + - - - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +