-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
force update the text in the text editor only at startup and when edi…
…ting in the graph This is a rework of the DOT source handling to avoid a race caused by constantly feeding back the DOT source to the text editor. This race seems to have been latent, but an upcoming commit that changes to the new root API in React 18, which seems much faster, exposes it. Now, the DOT source is only fed back to the text editor when specifically requested. This is currenty done at startup and when editing the graph in the graph view. This is not expected to interfere with a user editing the text, since it should not be possible to do that at the same time. This also removes the now unnecessary workaround for #236 implemented in 0062951.
- Loading branch information
Showing
2 changed files
with
12 additions
and
11 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
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