From 60233ba144ffcfaccd55142d02ea4de9f39f9922 Mon Sep 17 00:00:00 2001 From: Gaspar Capello Date: Mon, 18 Sep 2023 13:05:08 -0300 Subject: [PATCH] Changed the "Same in all tools" behavior (fix #4007) Now: 1) If some dynamics are set and the "Same on all tools" box is unchecked, when we check it, aseprite will copy the active configuration as shared values. 2) If "Same on all tools" is checked, and we uncheck it, aseprite will copy shared values to the active tool settings (without touching other tools), in this way the visible options of the active tool won't be modified. --- src/app/ui/dynamics_popup.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/ui/dynamics_popup.cpp b/src/app/ui/dynamics_popup.cpp index 2b7439854..678937554 100644 --- a/src/app/ui/dynamics_popup.cpp +++ b/src/app/ui/dynamics_popup.cpp @@ -289,9 +289,6 @@ DynamicsPopup::DynamicsPopup(Delegate* delegate) // Save the old dynamics options: saveDynamicsPref(!sameInAllTools); Preferences::instance().shared.shareDynamics(sameInAllTools); - // Load the new dynamics options: - loadDynamicsPref(sameInAllTools); - refreshVisibility(); }); m_dynamics->gradientPlaceholder()->addChild(m_ditheringSel); m_dynamics->pressurePlaceholder()->addChild(m_pressureThreshold = new ThresholdSlider);