mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-06-06 22:12:26 +00:00
3c0878f6cc
Saved bubble_positions could land on a secondary monitor that was later disconnected, leaving the bubble created off-screen with no visual feedback on toggle-show. - settings::load now drops any position whose 140px probe rect intersects no connected monitor (MonitorFromRect + MONITOR_DEFAULTTONULL). - bubble::create calls clamp_into_work_area before the first render as a defense-in-depth catch for partial overflows or load/create monitor races. - clamp_into_work_area preserves the Codex-above-Claude stagger from default_position when both bubbles get clamped to the same corner. - Added info/warn log lines on create + clamp paths so future visibility bugs are diagnosable via --diagnose.