mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
a54760552b
The glowing border framed the app being driven. It was purely decorative and the user asked for it to go — the animated cursor already shows what Claude is acting on. It was not, as suspected, interfering with clicks: the overlay is `ignoresMouseEvents`, sits at `CGShieldingWindowLevel()`, and every window enumeration in `WindowGeometry` filters to `layer == 0`, so it could not enter any hit-test or occlusion decision. It went because it earns nothing, not because it broke anything. `WindowFrameTracker` goes with it: its own header says it exists to keep the glow glued to a moving window, and nothing else referenced it. That also resolves the "30Hz CGWindowList polling" entry on the redesign doc's cut list — the polling was the tracker's fallback path, so it is gone rather than reduced. `NonAnimatedGradientLayer` moved into `VirtualCursor.swift`. It lived in the glow file but the cursor's orb needs it too (without it Core Animation's implicit 0.25s actions smear every frame change), and the compiler caught the dangling reference. `overlay_show` now only reveals the cursor, so `playSound` and `stopOverlaySession(animated:)` lost their only consumers. The TypeScript side had eleven comments describing a border that no longer exists; they now describe what the code does.