mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 23:39:50 +00:00
Some More Fixes to Rendering, etc
This commit is contained in:
1 parent
cb206348c5
commit
d6c70167bf
6 files changed
+16
-11
No files matched your search
@@ -142,8 +142,7 @@ public abstract class GuiNPCInterface extends GuiScreen {
|
||||
tf.mouseClicked(i, j, k);
|
||||
|
||||
for (GuiScrollWindow guiScrollableComponent : scrollWindows.values()) {
|
||||
if (guiScrollableComponent.isMouseOver(i, j))
|
||||
guiScrollableComponent.mouseClicked(i, j, k);
|
||||
guiScrollableComponent.mouseClicked(i, j, k);
|
||||
}
|
||||
|
||||
if (k == 0) {
|
||||
|
||||
@@ -94,7 +94,6 @@ public class GuiScrollWindow extends GuiScreen implements ITextfieldListener, IC
|
||||
}
|
||||
|
||||
public void mouseClicked(int i, int j, int k) {
|
||||
|
||||
i = i - xPos;
|
||||
j = (int) (j - yPos + scrollY);
|
||||
|
||||
|
||||
Reference in new issue
Block a user