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

Fix viewport not working when minimized #5042

Merged
merged 2 commits into from
Sep 1, 2024
Merged

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Aug 31, 2024

Fix: The viewport stops working when the program is minimized.

Fix: Logically, the weird parts have been normalized.

Issue :

The viewport stops working when the program is minimized.

Solution :

When request_redraw() is performed in Minimized state, the occasional screen tearing phenomenon has disappeared.
( Probably expected to be the effect of #4814 )

To address the issue of the Immediate Viewport not updating in Minimized state, we can call request_redraw().

@emilk emilk changed the title Fix: The viewport stops working when the program is minimized. Fix viewport not working when minimized Sep 1, 2024
@emilk emilk added bug Something is broken eframe Relates to epi and eframe labels Sep 1, 2024
@emilk emilk merged commit 2a6a130 into emilk:master Sep 1, 2024
21 of 22 checks passed
@emilk emilk added the viewports multiple viewports, viewports API label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken eframe Relates to epi and eframe viewports multiple viewports, viewports API
Projects
None yet
2 participants