We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c3022f commit 0ca850cCopy full SHA for 0ca850c
OverlayWindow/Sources/OverlayWindow/OverlayPanel.swift
@@ -119,18 +119,6 @@ final class OverlayPanel: NSPanel {
119
ZStack {
120
Rectangle().fill(.green.opacity(debugOverlayPanel ? 0.1 : 0))
121
.allowsHitTesting(false)
122
- .overlay(alignment: .topTrailing) {
123
- HStack {
124
- Button(action: {
125
- debugOverlayPanel.toggle()
126
- }) {
127
- Image(systemName: "eye")
128
- .foregroundColor(debugOverlayPanel ? .green : .red)
129
- .padding()
130
- }
131
- .buttonStyle(.plain)
132
133
134
content()
135
.environment(\.overlayFrame, panelState.windowFrame)
136
.environment(\.overlayDebug, debugOverlayPanel)
0 commit comments