-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Knob parameter value graphic (green circle) shows even when value is 0 #5747
Comments
Can you give a more specific example? The knob/button is greyed out when the it is disabled (for whatever reason). You could have a setting that only applies to some of the other settings and not all and then disable/grey out the gui part that doesn't apply or maybe hide it altogether. Is this the issue you're referring to ?#4749 |
@zonkmachine I have experienced this here and there but the only way I can replicate it is by as mentioned Hopefully this makes sense, if not let me know and I will see if I can help |
OK. I see what you mean now. Sometimes you turn the the knob to 0 and the indicator isn't completely dimmed. |
Lines 373 to 378 in 435dbc5
Presumably this is some optimisation intended to reduce repainting, but unless it has a noticable effect on performance, perhaps it should be removed to avoid visual errors like this. |
In the (unlikely, I'd guess) case that this does cause issues, we can probably just add |
A one-liner. I think you should pull that. I don't know how much the performance gains are but it's pretty clear what the code does. |
Bug Summary
Each knob has a green circle graphic indicating the value of the parameter which is greyed out when the value is at 0.
In certain situations the knob graphic can show a little green piece on the left side in the beginning of this circle even though the value is 0.
Steps to reproduce
The easiest way to reproduce this is if you click your mouse on the knob and instead of dragging straight up or down to change the parameter like you normally would, drag your mouse pretty far out to the left and then slowly down.
You will see the value of the knob is going down (decreasing) and if done successfully you will replicate this issue.
I have experienced this in other ways, but I think this is the best way to generate an example of this issue.
Expected behavior
Graphic knob indicator is supposed to be greyed out when value is 0
Actual behavior
At times graphic knob indicator can show a little value graphically even though the actual parameter value is at 0
Not a big deal because only really happens when using the knob improperly, but if easy to fix may be worth.
Affected LMMS versions
1.2.2
The text was updated successfully, but these errors were encountered: