mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 13:10:04 -05:00
--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:
parent
a83c0f95bc
commit
71abee0396
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user