Skip to content

Conversation

@FakeMichau
Copy link
Contributor

@FakeMichau FakeMichau commented Oct 20, 2025

I'm using #211 and noticed that scroll doesn't change the brightness. It's changing the value on the slider but the values doesn't get applied to the monitor.

Turns out the "scroll-event" is not needed at all, just like with mic and volume sliders. There seems to be some race condition with the other events as going step by step with a debugger makes the brightness apply.

Step size can be changed using "increments" on slider's init if need be. First value controls the step with page up/down, the 2nd one controls the scroll step. There is a small bug where you need to press the slider with a mouse first to be able to use page up/down tho.

@Axenide
Copy link
Owner

Axenide commented Oct 21, 2025

Huh, this must be something recent. Let me test but it was working on my laptop.
Welp, I can't even test because scroll with the trackpad isn't working and my mouse just ran out of battery. siiiigggghhhhh...

Alright, found a mouse. I can't scroll at all, so I'll merge this.

@Axenide Axenide merged commit 1918356 into Axenide:main Oct 21, 2025
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