Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Update ManagerViewController.swift - 修复keyWindow上新增view的点击事件不执行 #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Framework/Dotzu/Dotzu/ManagerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class ManagerViewController: UIViewController, LogHeadViewDelegate {
}

func shouldReceive(point: CGPoint) -> Bool {
if (UIApplication.shared.keyWindow?.subviews.count ?? 0) > 1 {
return true
}
if Dotzu.sharedManager.displayedList {
return true
}
Expand Down