Don't apply colors unless per LED mode
This commit is contained in:
parent
4024e6de85
commit
a6c9d1232a
1 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue