Fix: "Equal brightness" in LED settings does not work correctly
fixes: #2332
This commit is contained in:
parent
2659204d96
commit
b5ca2cfd21
@ -385,7 +385,7 @@ export default defineComponent({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const srcId = this.getNumberFromLedId((event.target as Element).id);
|
const srcId = this.getNumberFromLedId((event.target as Element).id);
|
||||||
this.deviceConfigList.led.every((v) => (v.brightness = this.deviceConfigList.led[srcId].brightness));
|
this.deviceConfigList.led.map((v) => (v.brightness = this.deviceConfigList.led[srcId].brightness));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user