Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
everettjf committed Sep 10, 2018
1 parent a588b5b commit 6f43600
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion DictionaryPullDownToClose/DictionaryPullDownToClose.mm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ - (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoi
CGFloat length = fabs(sEndYOffset - sBeginYOffset);
NSLog(@"qiweidict : end drag = %@, length = %@",@(sEndYOffset), @(length));

if(length > kThreshold){
if(sEndYOffset < sBeginYOffset && length > kThreshold){
NSLog(@"qiweidict : should pull down to close");
[self doneButtonPressed:nil];
}
Expand Down
2 changes: 1 addition & 1 deletion DictionaryPullDownToClose/Package/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: com.everettjf.DictionaryPullDownToClose
Name: DictionaryPullDownToClose
Version: 0.1-1
Version: 0.2-1
Description: Add "Pull down release to close/dismiss" feature to system dictionary view
Section: Tweaks
Depends: firmware (>= 5.0), mobilesubstrate
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion LatestBuild
Binary file not shown.

0 comments on commit 6f43600

Please sign in to comment.