Update rgb -> bgr in Painter screen
This commit is contained in:
parent
5fdfd9ee2c
commit
f409729385
@ -50,7 +50,7 @@ class PainterScreen(menu: PainterMenu, inventory: Inventory, title: Component) :
|
||||
override fun innerRender(graphics: MGUIGraphics, mouseX: Float, mouseY: Float, partialTick: Float) {
|
||||
graphics.renderRect(0f, 0f, width, height, color = RGBAColor.DARK_GRAY)
|
||||
|
||||
val color = RGBAColor.rgb(dye?.textColor ?: DyeColor.LIGHT_BLUE.textColor)
|
||||
val color = RGBAColor.bgr(dye?.textColor ?: DyeColor.LIGHT_BLUE.textColor)
|
||||
|
||||
graphics.renderCheckerboard(0f, 0f, width, height, color = color.copy(alpha = 0.25f))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user