mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Bigger Zoom
This commit is contained in:
1 parent
e1790956dc
commit
7c69358b31
1 file changed
+2
-2
@@ -1495,8 +1495,8 @@ public abstract class GuiDiagram extends Gui {
|
||||
|
||||
public void handleMouseScroll(int scrollDelta) {
|
||||
zoom += scrollDelta * 0.0009f;
|
||||
if (zoom < 0.5f) zoom = 0.5f;
|
||||
if (zoom > 2.0f) zoom = 2.0f;
|
||||
if (zoom < 0.2f) zoom = 0.2f;
|
||||
if (zoom > 3.0f) zoom = 3.0f;
|
||||
}
|
||||
|
||||
protected void drawHoveringText(List<String> textLines, int mouseX, int mouseY, FontRenderer font) {
|
||||
|
||||
Reference in new issue
Block a user