-
Notifications
You must be signed in to change notification settings - Fork 10.4k
ui: skip rendering when screen is off #36510
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
ui: skip rendering when screen is off #36510
Conversation
system/ui/lib/application.py
Outdated
| yield True | ||
| else: | ||
| yield False | ||
| else: | ||
| yield True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh i see, the return logic is flipped too. this should render stuff is pretty hacky, it should just be moved to application.py and we manage the whole stack there properly
…o-render-when-screen-off
|
I can't wake the UI after it sleeps now, was this tested on PC? |
No description provided.