From 277a7cc68939d2fe9a667d70278cd05da013a968 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 25 Aug 2024 09:01:52 -0400 Subject: [PATCH] Fixed force scrolling enabling bar --- arc-core/src/arc/scene/ui/ScrollPane.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/arc-core/src/arc/scene/ui/ScrollPane.java b/arc-core/src/arc/scene/ui/ScrollPane.java index 50e8d3173..435c72c65 100644 --- a/arc-core/src/arc/scene/ui/ScrollPane.java +++ b/arc-core/src/arc/scene/ui/ScrollPane.java @@ -752,7 +752,6 @@ protected float getMouseWheelY(){ public void setScrollXForce(float pixels){ visualAmountX = pixels; amountX = pixels; - scrollX = true; } /** Returns the x scroll position in pixels, where 0 is the left of the scroll pane. */ @@ -763,7 +762,6 @@ public float getScrollX(){ public void setScrollYForce(float pixels){ visualAmountY = pixels; amountY = pixels; - scrollY = true; } /** Returns the y scroll position in pixels, where 0 is the top of the scroll pane. */