Skip to content

Commit

Permalink
Temporarily disable multi-file editing
Browse files Browse the repository at this point in the history
  • Loading branch information
StarLederer committed Jul 22, 2022
1 parent a2b321c commit 2cdd14f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/renderer/src/lib/Files.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,12 @@
let ctrl = false;
function clickFile(path: string): void {
if (ctrl) {
// if (ctrl) {
if (false) {
window.electron.send(IpcEvents.renderer.wants.toToggleFile, path);
} else window.electron.send(IpcEvents.renderer.wants.toSelectFile, path);
} else {
window.electron.send(IpcEvents.renderer.wants.toSelectFile, path);
}
}
function opneContextMenu(e: MouseEvent, name: string, path: string): void {
Expand Down

0 comments on commit 2cdd14f

Please sign in to comment.