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

Removes the double diagram request on opening VS Code with no editor in focus #200

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

NiklasRentzCAU
Copy link
Member

During adoption to Sprotty 0.13 another way of updating the diagram was introduced that always requests a diagram when the editor is switched. When opening VS Code now with no editor in focus (e.g. when the diagram was in focus, which is not re-opened by VS Code by default), clicking on an editor triggered this newly introduced switch AND this now-removed code we had for exactly that use case. As this is now superfluous and causes duplicated requests, this removes that issue.
See #162

…in focus

During adoption to Sprotty 0.13 another way of updating the diagram was introduced that always requests a diagram when the editor is switched. When opening VS Code now with no editor in focus (e.g. when the diagram was in focus, which is not re-opened by VS Code by default), clicking on an editor triggered this newly introduced switch AND this now-removed code we had for exactly that use case. As this is now superfluous and causes duplicated requests, this removes that issue.
@NiklasRentzCAU NiklasRentzCAU added bug Something isn't working klighd-vscode labels Oct 22, 2024
Copy link
Contributor

@Eddykasp Eddykasp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing this!

@NiklasRentzCAU NiklasRentzCAU merged commit 1e80ab3 into main Oct 23, 2024
1 check passed
@NiklasRentzCAU NiklasRentzCAU deleted the nre/removeDoubleDiagramRequest branch October 23, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working klighd-vscode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants