From 2fcbf16649319bdf9a394d29a8d5cb937b7ebdea Mon Sep 17 00:00:00 2001 From: ShlomoCode <78599753+ShlomoCode@users.noreply.github.com> Date: Sun, 25 Aug 2024 03:57:30 +0300 Subject: [PATCH] fix: update previousTrafficLightButtonsPosition on ok mistakenly dropped from https://github.com/ejbills/DockDoor/pull/267 --- DockDoor/Views/Settings/AppearanceSettingsView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DockDoor/Views/Settings/AppearanceSettingsView.swift b/DockDoor/Views/Settings/AppearanceSettingsView.swift index 5e0b25d..837fa75 100644 --- a/DockDoor/Views/Settings/AppearanceSettingsView.swift +++ b/DockDoor/Views/Settings/AppearanceSettingsView.swift @@ -57,6 +57,8 @@ struct AppearanceSettingsView: View { completion: { result in if result == .cancel { trafficLightButtonsPosition = previousTrafficLightButtonsPosition + } else { + previousTrafficLightButtonsPosition = newValue } } ) @@ -131,6 +133,8 @@ struct AppearanceSettingsView: View { completion: { result in if result == .cancel { windowTitlePosition = previousWindowTitlePosition + } else { + previousWindowTitlePosition = newValue } } )