private void colorEditorManager_ColorChanged(object sender, EventArgs e) { if (!active) { return; } colorPanel.BackColor = colorEditorManager.Color; colorPanel.Update(); LedManager.setColor(colorEditorManager.Color); }
public override void _activate() { LedManager.setColor(colorEditorManager.Color); }