attempt to make sliderbody look better

This commit is contained in:
yugecin
2016-09-29 23:22:41 +02:00
parent 923f8dcb49
commit 0d89c2612d
3 changed files with 3 additions and 3 deletions

View File

@@ -394,8 +394,8 @@ public class CurveRenderState {
ByteBuffer buff = BufferUtils.createByteBuffer(slider.getWidth() * 4);
for (int i = 0; i < slider.getWidth(); ++i) {
Color col = slider.getColor(i, 0);
buff.put((byte) (255 * col.r));
buff.put((byte) (255 * col.g));
buff.put((byte) (255 * col.b));
buff.put((byte) (255 * col.b)); // I know this looks strange...
buff.put((byte) (255 * col.b));
buff.put((byte) (255 * col.a));
}