#110 Change on/off and toggle knob colors to primary color (purple-ish)
This commit is contained in:
@@ -525,7 +525,7 @@ const PluginControl =
|
|||||||
if (control.isOnOffSwitch()) {
|
if (control.isOnOffSwitch()) {
|
||||||
// normal gray unchecked state.
|
// normal gray unchecked state.
|
||||||
return (
|
return (
|
||||||
<Switch checked={value !== 0} color="secondary"
|
<Switch checked={value !== 0} color="primary"
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
this.onCheckChanged(event.target.checked);
|
this.onCheckChanged(event.target.checked);
|
||||||
}}
|
}}
|
||||||
@@ -535,7 +535,7 @@ const PluginControl =
|
|||||||
if (control.isAbToggle()) {
|
if (control.isAbToggle()) {
|
||||||
// unchecked color is not gray.
|
// unchecked color is not gray.
|
||||||
return (
|
return (
|
||||||
<Switch checked={value !== 0} color="secondary"
|
<Switch checked={value !== 0} color="primary"
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
this.onCheckChanged(event.target.checked);
|
this.onCheckChanged(event.target.checked);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user