Browse Source

Rename CornerRadius to be more clear

Daniel Chalmers 1 year ago
parent
commit
40ee9501a7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      DesktopClock/MainWindow.xaml
  2. 1 1
      DesktopClock/Properties/Settings.cs

+ 1 - 1
DesktopClock/MainWindow.xaml

@@ -116,7 +116,7 @@
 	</Window.Resources>
 	</Window.Resources>
 
 
 	<Viewbox Height="{Binding Height, Source={x:Static p:Settings.Default}, Mode=OneWay}">
 	<Viewbox Height="{Binding Height, Source={x:Static p:Settings.Default}, Mode=OneWay}">
-		<Border CornerRadius="{Binding CornerRadius, Source={x:Static p:Settings.Default}, Mode=OneWay}" Padding="1,0,1,0">
+		<Border CornerRadius="{Binding BackgroundCornerRadius, Source={x:Static p:Settings.Default}, Mode=OneWay}" Padding="1,0,1,0">
 			<Border.Style>
 			<Border.Style>
 				<Style TargetType="Border">
 				<Style TargetType="Border">
 					<Setter Property="Background">
 					<Setter Property="Background">

+ 1 - 1
DesktopClock/Properties/Settings.cs

@@ -60,8 +60,8 @@ public sealed class Settings : INotifyPropertyChanged, IDisposable
     public Color OuterColor { get; set; }
     public Color OuterColor { get; set; }
     public bool BackgroundEnabled { get; set; } = true;
     public bool BackgroundEnabled { get; set; } = true;
     public double BackgroundOpacity { get; set; } = 0.90;
     public double BackgroundOpacity { get; set; } = 0.90;
+    public double BackgroundCornerRadius { get; set; } = 1;
     public double OutlineThickness { get; set; } = 0.2;
     public double OutlineThickness { get; set; } = 0.2;
-    public double CornerRadius { get; set; } = 1;
     public bool Topmost { get; set; } = true;
     public bool Topmost { get; set; } = true;
     public bool ShowInTaskbar { get; set; } = true;
     public bool ShowInTaskbar { get; set; } = true;
     public int Height { get; set; } = 48;
     public int Height { get; set; } = 48;