From 49c6542fb4bb92083f0b47f1fb668faaa581f7a6 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 29 Jan 2017 16:26:45 +0100 Subject: [PATCH] javadocz --- src/itdelatrisu/opsu/ui/KineticScrolling.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/itdelatrisu/opsu/ui/KineticScrolling.java b/src/itdelatrisu/opsu/ui/KineticScrolling.java index 6e67c633..04a20875 100644 --- a/src/itdelatrisu/opsu/ui/KineticScrolling.java +++ b/src/itdelatrisu/opsu/ui/KineticScrolling.java @@ -61,8 +61,13 @@ public class KineticScrolling { /** The speed multiplier (divides {@link #TIME_CONST}). */ private float speedMultiplier = 1f; + /** Whether or not to allow overscrolling. */ private boolean allowOverScroll; + /** + * Enable or disable the overscrolling flag. + * @param allowOverScroll whether or not to allow overscrolling + */ public void setAllowOverScroll(boolean allowOverScroll) { this.allowOverScroll = allowOverScroll; }