-
Notifications
You must be signed in to change notification settings - Fork 7
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
Bug with segments color rule #34
Comments
Would you please create a little test flow for me. |
Teste code bellow:
|
Thank you. |
Hey! Thank you very much, amazing job! |
Describe the bug
When trying to set the Min and Max values using the msg.control.seg1/2, i've notice a bug with the color rule. It doesnt respect the limits imposed by the msg.control.seg1/2. After testing, looks like there's some problem related to odd/even numbers, cuz they respond different.
To Reproduce
Just enter some msg.control.seg like: 166
175 and 167176 and move 1 before the lower limit (168) and 1 above the higher limit (177).Expected behavior
For exemple, when setted to 166~175 it should be red from 0 to 165, green from 166 to 175, and red from 176 to 250.
Screenshots
Great work by the way!!
Environment and versions
OS: windows 10
Microsoft Edge
Node-RED version: 1.1.3
Dashboard version: 2.24.2
ui-level version: 0.1.40
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: