Skip to content

Commit

Permalink
5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yannecer committed Feb 2, 2021
1 parent a3696aa commit 74de723
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
4 changes: 2 additions & 2 deletions ncalendar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "5.0.1"
versionName "5.0.2"
}
}

Expand All @@ -28,7 +28,7 @@ publish {
repoName = 'maven'//bintray仓库
groupId = 'com.necer.ncalendar'//jcenter上的路径
artifactId = 'ncalendar'//项目名称
publishVersion = '5.0.1'//版本号
publishVersion = '5.0.2'//版本号
desc = 'NCalendar'
website = 'https://github.com/yannecer/NCalendar'
}
2 changes: 1 addition & 1 deletion ncalendar/src/main/java/com/necer/calendar/NCalendar.java
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ protected void gestureMove(float dy, int[] consumed) {
//上次的y
private float lastY;
//竖直方向上滑动的临界值,大于这个值认为是竖直滑动
private float verticalY = 50.f;
private final float verticalY = 50.f;
//第一次手势滑动,因为第一次滑动的偏移量大于verticalY,会出现猛的一划,这里只对第一次滑动做处理
private boolean isFirstScroll = true;

Expand Down

0 comments on commit 74de723

Please sign in to comment.