We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe6536 commit 7d7293aCopy full SHA for 7d7293a
src/main/java/com/cleanroommc/modularui/widgets/TextWidget.java
@@ -30,6 +30,10 @@ public TextWidget(IKey key) {
30
this.key = key;
31
}
32
33
+ public TextWidget(String key) {
34
+ this(IKey.str(key));
35
+ }
36
+
37
@Override
38
public void draw(ModularGuiContext context, WidgetTheme widgetTheme) {
39
TextRenderer renderer = TextRenderer.SHARED;
0 commit comments