mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-16 10:04:30 +01:00
pixel plugin improvements, new ui
This commit is contained in:
@@ -46,10 +46,11 @@ class PixelPlugin : public Plugin {
|
||||
pixels->show();
|
||||
}
|
||||
void setColor(String msg){
|
||||
pixels->ActivePattern = NONE;
|
||||
pixels->Color1 = atoi(msg.c_str());
|
||||
if(pixels->ActivePattern == NONE){
|
||||
//if(pixels->ActivePattern == NONE){
|
||||
pixels->ColorSet(pixels->Color1);
|
||||
}
|
||||
//}
|
||||
}
|
||||
void setColor2(String msg){
|
||||
pixels->Color2 = atoi(msg.c_str());
|
||||
|
||||
Reference in New Issue
Block a user