diff --git a/RetroBar/Taskbar.xaml.cs b/RetroBar/Taskbar.xaml.cs index 97b63fd4..aad73aea 100644 --- a/RetroBar/Taskbar.xaml.cs +++ b/RetroBar/Taskbar.xaml.cs @@ -63,7 +63,7 @@ public Taskbar(WindowManager windowManager, ShellManager shellManager, StartMenu if (AppBarMode == AppBarMode.AutoHide || !Settings.Instance.LockTaskbar) { - double unlockedSize = Application.Current.FindResource("TaskbarUnlockedSize") as double? ?? 0; + double unlockedSize = Settings.Instance.TaskbarScale * (Application.Current.FindResource("TaskbarUnlockedSize") as double? ?? 0); DesiredHeight += unlockedSize; DesiredWidth += unlockedSize; } @@ -157,7 +157,7 @@ private void RecalculateSize() if (AppBarMode == AppBarMode.AutoHide || !Settings.Instance.LockTaskbar) { - double unlockedSize = Application.Current.FindResource("TaskbarUnlockedSize") as double? ?? 0; + double unlockedSize = Settings.Instance.TaskbarScale * (Application.Current.FindResource("TaskbarUnlockedSize") as double? ?? 0); newHeight += unlockedSize; newWidth += unlockedSize; }