diff options
author | Jakob Stendahl <jakobste@uio.no> | 2021-10-21 22:14:58 +0200 |
---|---|---|
committer | Jakob Stendahl <jakobste@uio.no> | 2021-10-21 22:14:58 +0200 |
commit | f6d2fa6faee7ca5482711c2737170f61e8342425 (patch) | |
tree | 7a1ba56a88b4967d3b0d31d8f38ae33d326a9860 /src_frontend/Components/LEDConfig/LEDConfig.svelte | |
parent | 7366ae92038e94e74472cb21a02b24124b72dd93 (diff) | |
download | Luxcena-Neo-f6d2fa6faee7ca5482711c2737170f61e8342425.tar.gz Luxcena-Neo-f6d2fa6faee7ca5482711c2737170f61e8342425.zip |
:lipstick: Improve simulation by changing to using a svg. and some small fixes
Diffstat (limited to 'src_frontend/Components/LEDConfig/LEDConfig.svelte')
-rw-r--r-- | src_frontend/Components/LEDConfig/LEDConfig.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src_frontend/Components/LEDConfig/LEDConfig.svelte b/src_frontend/Components/LEDConfig/LEDConfig.svelte index 2cf9aa2..b0992f8 100644 --- a/src_frontend/Components/LEDConfig/LEDConfig.svelte +++ b/src_frontend/Components/LEDConfig/LEDConfig.svelte @@ -40,7 +40,7 @@ matrix = matrix; // This is needed because svelte is weird :) saveConfig(); } - function removeCell() { + function removeCell(ev) { matrix[ev.target.dataset.id].pop(); matrix = matrix; // This is needed because svelte is weird :) saveConfig(); |