Skip to content

Commit 65842a7

Browse files
committed
improve the drag-dismiss distance
1 parent 265c82f commit 65842a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515
#
1616

17-
GRADLE_PLUGIN_VERSION=2.2.3
17+
GRADLE_PLUGIN_VERSION=2.3.0
1818
BUILD_TOOLS_VERSION=25.0.2
1919

2020
ANDROID_SUPPORT_VERSION=25.2.0
@@ -23,7 +23,7 @@ MIN_SDK=15
2323
TARGET_SDK=25
2424
COMPILE_SDK=25
2525

26-
VERSION_NAME=1.2.2
26+
VERSION_NAME=1.2.3-SNAPSHOT
2727
VERSION_CODE=1
2828
GROUP=com.klinkerapps
2929

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ distributionBase=GRADLE_USER_HOME
1919
distributionPath=wrapper/dists
2020
zipStoreBase=GRADLE_USER_HOME
2121
zipStorePath=wrapper/dists
22-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
22+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip

library/src/main/java/xyz/klinker/android/drag_dismiss/view/ElasticDragDismissFrameLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class ElasticDragDismissFrameLayout extends FrameLayout {
5252
private float dragDismissFraction = -1f;
5353
private float dragDismissScale = 1f;
5454
private boolean shouldScale = false;
55-
private float dragElasticity = 0.5f;
55+
private float dragElasticity = 1f;
5656

5757
// state
5858
private float totalDrag;

0 commit comments

Comments
 (0)