issues
search
henryksloan
/
sugarcubes
A library and tool for automata and formal languages, inspired by JFLAP
https://henryksloan.github.io/sugarcubes/
GNU Affero General Public License v3.0
26
stars
2
forks
source link
New file creation and improved saving
#21
Closed
henryksloan
closed
3 years ago
henryksloan
commented
3 years ago
Added logic to use
Window.showSaveFilePicker()
if it is available
This is much better than the dialogless save, but is only available on some platforms (luckily including Chrome)
This should eventually be used for the "Save as..." feature
How can this distinction be reconciled when the dialog isn't available?
Added simple implementation for creating a new file
Window.showSaveFilePicker()
if it is available