From 75510e02e28bc664e29b04c6f82dcfb840a1a7df 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 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 5e0b25d9..837fa75b 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 } } )