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

Deselect all items before exporting an image to PNG or JPG. Fixes #3712 #3723

Merged
merged 2 commits into from
Oct 18, 2020

Conversation

failiz
Copy link
Contributor

@failiz failiz commented Oct 9, 2020

The items are deselected, but they can be still be seen as selected in the app. After the screen is refreshed (f. ex. by zooming in the app or moving a component), they are shown correctly.

@ghost
Copy link

ghost commented Oct 9, 2020

Congratulations 🎉. DeepCode analyzed your code in 3.01 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

👉 View analysis in DeepCode’s Dashboard | Configure the bot

@KjellMorgenstern
Copy link
Member

Deselecting all items might be an unwanted effect. Do you see an easy way to preserve the users selection over the export? Or better, just not render that rectangles during the export?

@failiz
Copy link
Contributor Author

failiz commented Oct 17, 2020

Now we deselect the items that are selected and after the export we select them again. Interestingly, this also fixes #3073 (the label of the resistor is exported well)

@KjellMorgenstern
Copy link
Member

I confirm #3712 and #3073 are fixed, looks good to me

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 this pull request may close these issues.

2 participants