am 3e02adb0: Fix closing state
* commit '3e02adb028741938dab9787fa1552f86b2558c9a': Fix closing state
This commit is contained in:
@@ -616,6 +616,9 @@ public abstract class PanelView extends FrameLayout {
|
|||||||
boolean expandBecauseOfFalsing) {
|
boolean expandBecauseOfFalsing) {
|
||||||
cancelPeek();
|
cancelPeek();
|
||||||
float target = expand ? getMaxPanelHeight() : 0.0f;
|
float target = expand ? getMaxPanelHeight() : 0.0f;
|
||||||
|
if (!expand) {
|
||||||
|
mClosing = true;
|
||||||
|
}
|
||||||
flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
|
flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user