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();
|
||||
return;
|
||||
}
|
||||
if (!selectedIndices.has(realIdx)) {
|
||||
selectedIndices.clear();
|
||||
selectedIndices.add(realIdx);
|
||||
anchorTrack = t;
|
||||
renderTracks();
|
||||
}
|
||||
selectedIndices.clear();
|
||||
selectedIndices.add(realIdx);
|
||||
anchorTrack = t;
|
||||
renderTracks();
|
||||
});
|
||||
div.addEventListener('dblclick', () => {
|
||||
if (realIdx === currentIndex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue