Skip to content

Commit acefa48

Browse files
committed
Remember file path on each tab
1 parent 324bec6 commit acefa48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/js/FileSystem.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import GUI from "./gui";
12

23
class FileSystem {
34

@@ -10,6 +11,7 @@ class FileSystem {
1011

1112
async pickSaveFile(suggestedName, description, extension) {
1213
const fileHandle = await window.showSaveFilePicker({
14+
id: GUI.active_tab,
1315
suggestedName: suggestedName,
1416
types: [{
1517
description: description,

0 commit comments

Comments
 (0)