mirror of
https://codeberg.org/armin/noiz.git
synced 2026-09-01 05:50:52 +02:00
fix: clicking selected file in multi-select clears others
This commit is contained in:
parent
76fa21d405
commit
0c0398a6ae
1 changed files with 4 additions and 6 deletions
10
index.html
10
index.html
|
|
@ -1191,12 +1191,10 @@ function renderTracks() {
|
||||||
renderTracks();
|
renderTracks();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!selectedIndices.has(realIdx)) {
|
selectedIndices.clear();
|
||||||
selectedIndices.clear();
|
selectedIndices.add(realIdx);
|
||||||
selectedIndices.add(realIdx);
|
anchorTrack = t;
|
||||||
anchorTrack = t;
|
renderTracks();
|
||||||
renderTracks();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
div.addEventListener('dblclick', () => {
|
div.addEventListener('dblclick', () => {
|
||||||
if (realIdx === currentIndex) {
|
if (realIdx === currentIndex) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue