Remove scrollbar movement on first click
This commit is contained in:
@@ -43,7 +43,7 @@ public class GuiScrollbar extends Gui {
|
|||||||
protected final int positionY;
|
protected final int positionY;
|
||||||
protected final int width;
|
protected final int width;
|
||||||
|
|
||||||
private int draggingStart;
|
private int draggingStart = -1;
|
||||||
private double draggingStartPosition;
|
private double draggingStartPosition;
|
||||||
|
|
||||||
public GuiScrollbar(int positionX, int positionY, int width) {
|
public GuiScrollbar(int positionX, int positionY, int width) {
|
||||||
|
|||||||
Reference in New Issue
Block a user