Skip to content

Commit

Permalink
Fixed issue of "oversensitive swipe" #3160. PR as suggested by Shai i…
Browse files Browse the repository at this point in the history
…n Reddit (#3596)
  • Loading branch information
ThomasH99 authored Jun 3, 2022
1 parent 68dabb4 commit e74f0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodenameOne/src/com/codename1/ui/SwipeableContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public void actionPerformed(ActionEvent evt) {
open = true;
close();
}
} else {
} else if (topX < 0) { //check explicitly if opened to the left
if (Display.getInstance().getDragSpeed(false) > 0) {
open = false;
openedToLeft = false;
Expand Down

0 comments on commit e74f0ae

Please sign in to comment.