|
|
@ -58,8 +58,8 @@ void ColormapEffect::refreshAt(byte row, byte col) {
|
|
|
|
EventHandlerResult ColormapEffect::onFocusEvent(const char *command) {
|
|
|
|
EventHandlerResult ColormapEffect::onFocusEvent(const char *command) {
|
|
|
|
const char *cmd = PSTR("colormap.map");
|
|
|
|
const char *cmd = PSTR("colormap.map");
|
|
|
|
EventHandlerResult result =
|
|
|
|
EventHandlerResult result =
|
|
|
|
::LEDPaletteTheme.themeFocusEvent(command, cmd,
|
|
|
|
::LEDPaletteTheme.themeFocusEvent(command, cmd,
|
|
|
|
map_base_, max_layers_);
|
|
|
|
map_base_, max_layers_);
|
|
|
|
if (strcmp_P(command, cmd) == 0)
|
|
|
|
if (strcmp_P(command, cmd) == 0)
|
|
|
|
onActivate();
|
|
|
|
onActivate();
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|