Don't apply colors unless per LED mode

This commit is contained in:
Adam Honse 2020-02-26 21:16:02 -06:00
parent 4024e6de85
commit a6c9d1232a

View file

@ -597,7 +597,11 @@ void Ui::OpenRGBDevicePage::UpdateMode()
| Change device mode |
\*-----------------------------------------------------*/
device->SetMode(current_mode);
device->UpdateLEDs();
if(device->modes[current_mode].color_mode == MODE_COLORS_PER_LED)
{
device->UpdateLEDs();
}
}
}
}