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

Simplify screenshot feature #660

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented Apr 11, 2024

The option to set the screenshot scaling is removed.
Instead, the same image as the canvas is captured and saved, so that the size of the screenshots will be the same as the canvas in the window at the moment.
The option was not saved in preferences, so the save file is not affected.
This can also prevent the excess of heap size caused by temporary image objects being created and garbage-collected while heap size is not shrunk by time whatever the size of free heap.
Please note that #587 can be used here for the notification of screenshots being saved.

@Litorom Litorom merged commit 71e739c into MinicraftPlus:main Apr 18, 2024
2 checks passed
Makkkkus pushed a commit that referenced this pull request Dec 5, 2024
(cherry picked from commit 71e739c)
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