Skip to content

Commit 7254f3a

Browse files
author
Dmytro Tarianyk
committed
Fixed Label long click. Closes Clans#250.
1 parent 06225c3 commit 7254f3a

File tree

1 file changed

+2
-2
lines changed
  • library/src/main/java/com/github/clans/fab

1 file changed

+2
-2
lines changed

library/src/main/java/com/github/clans/fab/Label.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void onActionDown() {
207207
ripple.setHotspot(getMeasuredWidth() / 2, getMeasuredHeight() / 2);
208208
ripple.setVisible(true, true);
209209
}
210-
setPressed(true);
210+
// setPressed(true);
211211
}
212212

213213
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
@@ -225,7 +225,7 @@ void onActionUp() {
225225
ripple.setHotspot(getMeasuredWidth() / 2, getMeasuredHeight() / 2);
226226
ripple.setVisible(true, true);
227227
}
228-
setPressed(false);
228+
// setPressed(false);
229229
}
230230

231231
void setFab(FloatingActionButton fab) {

0 commit comments

Comments
 (0)