Skip to content

Commit e99b528

Browse files
committed
修正 Demo 工程中拖拽后半隐的悬浮窗案例中点击后没有自动隐藏的问题
1 parent 3fd2911 commit e99b528

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/com/hjq/window/demo/SemiStealthWindow.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ public void onSpringBackAnimationEnd(@NonNull EasyWindow<?> easyWindow, @NonNull
259259
public void onClick(@NonNull EasyWindow<?> easyWindow, @NonNull View view) {
260260
if (!isFullShowView()) {
261261
showFullView();
262+
postStayEdgeRunnable();
262263
return;
263264
}
264265
Toaster.show("我被点击了");

0 commit comments

Comments
 (0)