Merge pull request #1227 from manongjohn/magnet_tool_slider_change

Change when Magnet tool's non-linear preference is applied
This commit is contained in:
manongjohn 2023-10-03 07:29:05 -04:00 committed by GitHub
commit ed0468c458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,9 +150,6 @@ public:
{
bind(TTool::Vectors);
if (Preferences::instance()->getBoolValue(magnetNonLinearSliderEnabled))
m_toolSize.setNonLinearSlider();
m_prop.bind(m_toolSize);
}
@ -446,6 +443,9 @@ lefrightButtonDown(p);
if (!m_firstTime) {
m_firstTime = true;
m_toolSize.setValue(MagnetSize);
if (Preferences::instance()->getBoolValue(magnetNonLinearSliderEnabled))
m_toolSize.setNonLinearSlider();
}
// getApplication()->editImageOrSpline();
}