Change when Magnet tool's non-linear preference is applied
This commit is contained in:
parent
3df6c2438f
commit
f07d9d4573
1 changed files with 3 additions and 3 deletions
|
@ -150,9 +150,6 @@ public:
|
||||||
{
|
{
|
||||||
bind(TTool::Vectors);
|
bind(TTool::Vectors);
|
||||||
|
|
||||||
if (Preferences::instance()->getBoolValue(magnetNonLinearSliderEnabled))
|
|
||||||
m_toolSize.setNonLinearSlider();
|
|
||||||
|
|
||||||
m_prop.bind(m_toolSize);
|
m_prop.bind(m_toolSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -446,6 +443,9 @@ lefrightButtonDown(p);
|
||||||
if (!m_firstTime) {
|
if (!m_firstTime) {
|
||||||
m_firstTime = true;
|
m_firstTime = true;
|
||||||
m_toolSize.setValue(MagnetSize);
|
m_toolSize.setValue(MagnetSize);
|
||||||
|
|
||||||
|
if (Preferences::instance()->getBoolValue(magnetNonLinearSliderEnabled))
|
||||||
|
m_toolSize.setNonLinearSlider();
|
||||||
}
|
}
|
||||||
// getApplication()->editImageOrSpline();
|
// getApplication()->editImageOrSpline();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue