mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-28 23:39:20 +00:00
fix: now render tool tip correctly
- now label's in overlay can not modify amount by mouse scroll
This commit is contained in:
1 parent
98ee8a04d4
commit
b6d5a7a9fe
3 files changed
+3
-14
No files matched your search
@@ -296,7 +296,7 @@ public class JecaGui extends GuiContainer {
|
||||
int i = 0;
|
||||
int separators = 0;
|
||||
for (String s : textLines) {
|
||||
int j = this.fontRendererObj.getStringWidth(s);
|
||||
int j = font.getStringWidth(s);
|
||||
if (j > i)
|
||||
i = j;
|
||||
//noinspection StringEquality
|
||||
@@ -560,7 +560,7 @@ public class JecaGui extends GuiContainer {
|
||||
}
|
||||
|
||||
public void drawHoveringText(List<String> textLines, int x, int y) {
|
||||
super.drawHoveringText(textLines, x, y, fontRendererObj);
|
||||
this.drawHoveringText(textLines, x, y, fontRendererObj);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user