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 brightness slider choppiness #372

Merged
merged 5 commits into from
Mar 7, 2024

Conversation

System64fumo
Copy link
Contributor

Make setting the brightness function async to prevent stutter on some devices.

This probably doesn't happen on a lot of devices but i found it weird that it happens on one of my devices,
This pr should help resolve it.

Make setting the brightness function async to prevent stutter on some devices.
@System64fumo
Copy link
Contributor Author

That should do it

@System64fumo
Copy link
Contributor Author

Any updates on this?

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

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

Thanks! Sorry for the delay :)

@ErikReider ErikReider merged commit ee046a0 into ErikReider:main Mar 7, 2024
6 checks passed
mochaaP pushed a commit to traidento/SwayNotificationCenter that referenced this pull request Mar 9, 2024
* Fix brightness slider choppiness

Make setting the brightness function async to prevent stutter on some devices.

* Fix implicit .begin deprecation warning

---------

Co-authored-by: Amir Dahan <[email protected]>
Co-authored-by: Erik Reider <[email protected]>
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