You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details
What browser were you using: Edge / Firefox
What OS were you using: Windows 10
Project version you have: V2.0.0
Describe the bug
3 Bugs :
1 - Hexa text input does not take values in uppercase.
2 - Input A for RGBA and HSLA need step at 0.01. Otherwise on firefox the border of the input fields are red when the value has two decimal.
3 - Hexa conversion to HSLA from Hexa inupt returns a value with decimal on L%. (can also H and S%) And 3 decimal on A input of HSLA and RGBA.
To Reproduce
Bug 1 : Enter this value to Hexa input #44AAFF, the value is not apply.
Bug 2 : Use Firefox and change transparency of RGBA or HSLA. The A input have red border.
Bug 3 : Enter this value to Hexa input #44aaff and show the HSLA form, the L% have a decimal and A have 3 decimal.
Screenshots (Optional)
Bug 2 :
Bug 3 :
Additional context (Optional)
Correct bug :
Bug 1 :
Modify line 70 of color_text_values.js :
const hexInput = this.value;
to
const hexInput = this.value.toLowerCase();
Bug 2 :
Set setp to 0.01 of A input of RGBA and HSLA form.
Bug 3 :
Apply Math.round() function to conversion function for H,S,L ans R,G,B value. And apply Math.round(val*100)/100 for A values of HSLA and RGBA form.
The text was updated successfully, but these errors were encountered:
Details
What browser were you using: Edge / Firefox
What OS were you using: Windows 10
Project version you have: V2.0.0
Describe the bug
3 Bugs :
1 - Hexa text input does not take values in uppercase.
2 - Input A for RGBA and HSLA need step at 0.01. Otherwise on firefox the border of the input fields are red when the value has two decimal.
3 - Hexa conversion to HSLA from Hexa inupt returns a value with decimal on L%. (can also H and S%) And 3 decimal on A input of HSLA and RGBA.
To Reproduce
Bug 1 : Enter this value to Hexa input #44AAFF, the value is not apply.
Bug 2 : Use Firefox and change transparency of RGBA or HSLA. The A input have red border.
Bug 3 : Enter this value to Hexa input #44aaff and show the HSLA form, the L% have a decimal and A have 3 decimal.
Screenshots (Optional)
Bug 2 :
Bug 3 :
Additional context (Optional)
Correct bug :
Bug 1 :
Modify line 70 of color_text_values.js :
const hexInput = this.value;
to
const hexInput = this.value.toLowerCase();
Bug 2 :
Set setp to 0.01 of A input of RGBA and HSLA form.
Bug 3 :
Apply Math.round() function to conversion function for H,S,L ans R,G,B value. And apply Math.round(val*100)/100 for A values of HSLA and RGBA form.
The text was updated successfully, but these errors were encountered: