@@ -104,7 +104,7 @@ public void render(GuiGraphics graphics, int mouseX, int mouseY, float delta) {
104104 graphics ,
105105 saturationLightDim .x (), saturationLightDim .y (),
106106 saturationLightDim .xLimit (), saturationLightDim .yLimit (),
107- GuiUtils . putAlpha ( 0xFF , 0xFFFFFF ), GuiUtils .putAlpha (0xFF , (int ) getRgbFromHueX ())
107+ 0xFFFFFFFF , GuiUtils .putAlpha ((int ) getRgbFromHueX (), 0xFF )
108108 ).submit (graphics );
109109 //Transparent to black, top to bottom
110110 graphics .fillGradient (saturationLightDim .x (), saturationLightDim .y (), saturationLightDim .xLimit (), saturationLightDim .yLimit (), 0x00000000 , 0xFF000000 );
@@ -134,7 +134,7 @@ public void render(GuiGraphics graphics, int mouseX, int mouseY, float delta) {
134134 graphics ,
135135 alphaGradientDim .x (), alphaGradientDim .y (),
136136 alphaGradientDim .xLimit (), alphaGradientDim .yLimit (),
137- getRgbWithoutAlpha (), 0x00000000
137+ GuiUtils . putAlpha ( getRgbWithoutAlpha (), 0xFF ), 0x00000000
138138 ).submit (graphics );
139139 //Alpha slider thumb shadow
140140 graphics .fill (alphaThumbX - thumbWidth / 2 - 1 , alphaGradientDim .y () - outline - 1 , alphaThumbX + thumbWidth / 2 + 1 , alphaGradientDim .yLimit () + outline + 1 , 0xFF404040 );
0 commit comments