We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f17b7c9 + 54394e7 commit dca3d41Copy full SHA for dca3d41
1 file changed
Sources/Cyclist/SwitcherPanel.swift
@@ -138,9 +138,14 @@ final class SwitcherPanel {
138
139
// Advancing the selection means the user is browsing, so the panel shows
140
// immediately even if the quick-tap grace delay has not elapsed yet.
141
+ // The debug timing covers the on-screen probe and ordering, not the
142
+ // deferred SwiftUI render - it answers "does the per-press WindowServer
143
+ // round trip cost anything" (issue #37).
144
func select(index: Int) {
145
+ let started = Date()
146
model.selected = index
147
show()
148
+ Log.debug("panel: select \(Int(Date().timeIntervalSince(started) * 1000))ms rows=\(model.rows.count)")
149
}
150
151
// The WindowServer can silently refuse to bring an existing panel
0 commit comments