Skip to content

Commit

Permalink
Fixed force scrolling enabling bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Aug 25, 2024
1 parent aafecc8 commit 277a7cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arc-core/src/arc/scene/ui/ScrollPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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. */
Expand Down

0 comments on commit 277a7cc

Please sign in to comment.