Skip to content

Commit

Permalink
improve the drag-dismiss distance
Browse files Browse the repository at this point in the history
  • Loading branch information
klinker24 committed Mar 7, 2017
1 parent 265c82f commit 65842a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#

GRADLE_PLUGIN_VERSION=2.2.3
GRADLE_PLUGIN_VERSION=2.3.0
BUILD_TOOLS_VERSION=25.0.2

ANDROID_SUPPORT_VERSION=25.2.0
Expand All @@ -23,7 +23,7 @@ MIN_SDK=15
TARGET_SDK=25
COMPILE_SDK=25

VERSION_NAME=1.2.2
VERSION_NAME=1.2.3-SNAPSHOT
VERSION_CODE=1
GROUP=com.klinkerapps

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class ElasticDragDismissFrameLayout extends FrameLayout {
private float dragDismissFraction = -1f;
private float dragDismissScale = 1f;
private boolean shouldScale = false;
private float dragElasticity = 0.5f;
private float dragElasticity = 1f;

// state
private float totalDrag;
Expand Down

0 comments on commit 65842a7

Please sign in to comment.