Bugfix for LegoMeterPresenter::DrawMeter

This commit is contained in:
disinvite 2024-06-13 23:40:40 -04:00
parent e1a97cab2d
commit 869703dcb6

View File

@ -145,7 +145,7 @@ void LegoMeterPresenter::DrawMeter()
case e_bottomToTop:
bottomTopEnd = m_meterRect.GetBottom() - (MxS16) (m_meterRect.GetHeight() * m_curPercent);
for (row = m_meterRect.GetBottom(); row < bottomTopEnd; row--) {
for (row = m_meterRect.GetBottom(); row > bottomTopEnd; row--) {
MxU8* line = m_frameBitmap->GetStart(m_meterRect.GetLeft(), row);
for (bottomTopCol = 0; bottomTopCol < m_meterRect.GetWidth(); bottomTopCol++, line++) {