-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
demo: https://3d.hrg.hr/jscad/save/ like mentioned in #88 (comment) feature to allow `ctrl+s` to save file from editors basic flow is initally implemented for solo script in the editor, - [x] first save opens dialog - [x] subsequent save saves into the same file more to do - [x] change internal file name to the file name that dropped (single file) - [x] dropped (single file) without save dialog - [x] provide file name proposal - [x] reset reference to file name after new script is loaded examples or other source - [x] reset file entry list when example loaded after folder loaded - [x] use file handle from drag and drop to save the same file - [x] change internal file name to the file name that was selected not caused here - [x] refresh editor when file is changed on disk (change is seen in render result, but not in editor source) https://github.com/hrgdavor/jscadui/assets/2480762/31bc8ea9-180d-488f-8c57-694bc8588156
- Loading branch information
Showing
6 changed files
with
185 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,4 +107,6 @@ dist | |
.turbo | ||
build/** | ||
dist/** | ||
**/.history | ||
**/.history | ||
**/.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.