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
Issue Summary:
Adjusting the opacity of a selected color in SceneBuilder results in an unintended change in its RGB values. This is likely due to the inadequate precision of the HSB color representation used.
Expected Behavior
When adjusting the opacity of a selected color, only the alpha (transparency) value should change; the RGB values should remain consistent.
Current Behavior
After selecting a color and then adjusting its opacity, the RGB values of the color shift. This is probably due to converting the color from an HSB representation with inadequate precision.
Proposed Solutions
Increasing the precision of the HSB color representation by one decimal point can provide accurate results for the majority of cases.
If the precision is increased by two decimal points, it will allow for accurate restoration of the vast majority of colors.
Steps to Reproduce
Select a color in the SceneBuilder's ColorPicker.
Adjust the opacity of the selected color.
Observe a change in the RGB values, even though only the opacity was modified.
Your Environment
SceneBuilder version: (8),20,21
Operating System: Windows 10
Java version: (8),20,21
Screenshots
The text was updated successfully, but these errors were encountered:
Issue Summary:
Adjusting the opacity of a selected color in SceneBuilder results in an unintended change in its RGB values. This is likely due to the inadequate precision of the HSB color representation used.
Expected Behavior
When adjusting the opacity of a selected color, only the alpha (transparency) value should change; the RGB values should remain consistent.
Current Behavior
After selecting a color and then adjusting its opacity, the RGB values of the color shift. This is probably due to converting the color from an HSB representation with inadequate precision.
Proposed Solutions
Steps to Reproduce
Your Environment
Screenshots
The text was updated successfully, but these errors were encountered: