Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/3.5-dev' into v3.5-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
gloomyandy committed Jun 10, 2023
2 parents 29931ed + 430cd0c commit 199aa01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Display/ValueMenuItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@ void ValueMenuItem::Draw(Lcd& lcd, PixelNumber rightMargin, bool highlight) noex
error = true;
break;
}
itemChanged = (error || currentValue != oldValue);
}
itemChanged = (error || currentValue != oldValue);
// else we are adjusting, so itemChanged should already be set
}

if (itemChanged || !drawn || (highlight != highlighted))
Expand Down

0 comments on commit 199aa01

Please sign in to comment.