Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Fixed Label long click. Closes #250.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro Tarianyk committed May 24, 2016
1 parent 06225c3 commit 7254f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/main/java/com/github/clans/fab/Label.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void onActionDown() {
ripple.setHotspot(getMeasuredWidth() / 2, getMeasuredHeight() / 2);
ripple.setVisible(true, true);
}
setPressed(true);
// setPressed(true);
}

@TargetApi(Build.VERSION_CODES.LOLLIPOP)
Expand All @@ -225,7 +225,7 @@ void onActionUp() {
ripple.setHotspot(getMeasuredWidth() / 2, getMeasuredHeight() / 2);
ripple.setVisible(true, true);
}
setPressed(false);
// setPressed(false);
}

void setFab(FloatingActionButton fab) {
Expand Down

0 comments on commit 7254f3a

Please sign in to comment.