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:
commit
ed0468c458
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue