fix(color): 6POS on main view not always redrawn when changed (#2947)
This commit is contained in:
@@ -105,7 +105,7 @@ void MainView6POS::checkEvents()
|
|||||||
{
|
{
|
||||||
Window::checkEvents();
|
Window::checkEvents();
|
||||||
#if NUM_XPOTS > 0 // prevent compiler warning
|
#if NUM_XPOTS > 0 // prevent compiler warning
|
||||||
int16_t newValue = 1 + (potsPos[idx] & 0x0f);
|
int16_t newValue = (potsPos[idx] & 0x0f);
|
||||||
if (value != newValue) {
|
if (value != newValue) {
|
||||||
value = newValue;
|
value = newValue;
|
||||||
invalidate();
|
invalidate();
|
||||||
|
|||||||
Reference in New Issue
Block a user