From 1910cba88af8a95ad0ce4373b460220297aad86b Mon Sep 17 00:00:00 2001
From: Juuxel <6596629+Juuxel@users.noreply.github.com>
Date: Fri, 5 Jun 2020 17:48:22 +0300
Subject: 1.16-pre2

- All Text usages apart from screen titles have been replaced with class_5348
- WLabel. and WText. getTextAt has been replaced by getTextStyleAt to match vanilla functionality
- CottonInventoryScreen.drawForeground
  - Prevents vanilla from rendering the player inventory label (already rendered by us
    and not needed in every GUI)
  - The title is now rendered using the title coordinate fields like in vanilla
---
 GuiTest/src/main/java/io/github/cottonmc/test/TestController.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'GuiTest/src/main/java/io')

diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java b/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
index 267c49f..68905ef 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
@@ -23,7 +23,7 @@ public class TestController extends CottonInventoryController {
 		root.add(new WTextField(new LiteralText("Type something...")), 0, 7, 5, 1);
 
 		root.add(createPlayerInventoryPanel(), 0, 9);
-		
+		System.out.println(root.toString());
 
 		this.getRootPanel().validate(this);
 	}
-- 
cgit