Skip to content

Commit

Permalink
fix preferredScreenEdgesDeferringSystemGestures
Browse files Browse the repository at this point in the history
  • Loading branch information
noppefoxwolf committed Dec 30, 2021
1 parent 8d6d9a8 commit 04d857b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/DebugMenu/View/InAppDebuggerWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ public class InAppDebuggerWindow: UIWindow {
dashboardItems: dashboardItems,
options: options
)
// visible時にディスプレイサイズと同じサイズだとスクリーンエッジの設定を決める対象に選ばれるので避ける
window.frame.size.width += 1
window.makeKeyAndVisible()
window.frame.size.width -= 1

keyWindow?.makeKeyAndVisible()
windows.append(window)
}
Expand Down

0 comments on commit 04d857b

Please sign in to comment.