Update rgb -> bgr in Painter screen

This commit is contained in:
DBotThePony 2024-05-31 16:42:05 +07:00
parent 5fdfd9ee2c
commit f409729385
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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))