Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted files not removed from FileTreeState #17

Open
cm8263 opened this issue Oct 6, 2022 · 0 comments
Open

Deleted files not removed from FileTreeState #17

cm8263 opened this issue Oct 6, 2022 · 0 comments

Comments

@cm8263
Copy link
Contributor

cm8263 commented Oct 6, 2022

When a file is deleted from within the editor, it is removed visibly from the editor's file tree, but it is not removed as an EditorFile from the FileTreeState.

Repro Steps:

  1. Create a new project
  2. Create two new files
  3. console.log the contents of the FileTree and see both files
  4. Delete one of the two files
  5. console.log the contents of the FileTree and both files will still be listed
cm8263 added a commit to cm8263/Telltale-Script-Editor that referenced this issue Oct 10, 2022
cm8263 added a commit to cm8263/Telltale-Script-Editor that referenced this issue Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant