Skip to content

Commit

Permalink
can i do one thing right for once
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Sep 18, 2024
1 parent 35e01e3 commit c1ecadb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/fsapp.app/components/File.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ function onClick(e) {
} else {
fileAction(currentlySelected);
}
for (row of currentlySelected) {
currentlySelected.forEach((row) => {
row.classList.remove("selected");
}
});
currentlySelected = [];
return;
}
if (!e.shiftKey) {
if (!e.ctrlKey) {
for (const row of currentlySelected) {
currentlySelected.forEach((row) => {
row.classList.remove("selected");
}
});
currentlySelected = [];
}
e.currentTarget.classList.add("selected");
Expand Down

0 comments on commit c1ecadb

Please sign in to comment.