--Bug fixes

-Double clicking min/max DE filter spinners would not trigger a render reset if the other was non-zero. The fix has the downside of triggering a change event when scrolling even if the value is already capped. This is an acceptable tradeoff.
This commit is contained in:
Person 2017-03-21 20:09:10 -07:00
parent a83c0f95bc
commit 71abee0396

View File

@ -479,8 +479,8 @@ void FractoriumEmberController<T>::DEFilterMinRadiusWidthChanged(double d)
void Fractorium::OnDEFilterMinRadiusWidthChanged(double d)
{
if (!ConstrainLow(m_DEFilterMinRadiusSpin, m_DEFilterMaxRadiusSpin))
m_Controller->DEFilterMinRadiusWidthChanged(d);
ConstrainLow(m_DEFilterMinRadiusSpin, m_DEFilterMaxRadiusSpin);
m_Controller->DEFilterMinRadiusWidthChanged(m_DEFilterMinRadiusSpin->value());
}
/// <summary>
@ -499,8 +499,8 @@ void FractoriumEmberController<T>::DEFilterMaxRadiusWidthChanged(double d)
void Fractorium::OnDEFilterMaxRadiusWidthChanged(double d)
{
if (!ConstrainHigh(m_DEFilterMinRadiusSpin, m_DEFilterMaxRadiusSpin))
m_Controller->DEFilterMaxRadiusWidthChanged(d);
ConstrainHigh(m_DEFilterMinRadiusSpin, m_DEFilterMaxRadiusSpin);
m_Controller->DEFilterMaxRadiusWidthChanged(m_DEFilterMaxRadiusSpin->value());
}
/// <summary>