Skip to content

Restore pet limit bar visibility - #1

Draft
yono-code wants to merge 1 commit into
mainfrom
codex/restore-pet-limit-bars
Draft

Restore pet limit bar visibility#1
yono-code wants to merge 1 commit into
mainfrom
codex/restore-pet-limit-bars

Conversation

@yono-code

Copy link
Copy Markdown
Owner

Summary

Restores Pet Limit Bars visibility after Codex updates that no longer expose the pet as a visible top-level native window.

Root cause

The overlay was hidden whenever native pet-window detection failed, even though Codex continued to provide the persisted open state and pet bounds.

Changes

  • Fall back to Codex's persisted pet bounds when native window detection is unavailable.
  • Retain native-window rebasing when it is available.
  • Add tests for both placement paths.

Validation

  • dotnet test .\\CodexPetLimitWin.sln --no-restore --nologo after a local restore with NuGetAudit=false: 16 tests passed.
  • Confirmed on the local Codex installation that the pet was open, a Pet Limit Bars overlay window was visible, and both usage buckets were available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant