style(ui): align perf overlay stats and remove bloat options#1212
Conversation
WalkthroughThe changes simplify the performance overlay configuration by removing separate FPS and frametime display flags, consolidating options to only frametime graph toggles. The FPS and draw calls displays are refactored to use consistent ImGui table layouts, and the settings UI is streamlined to match the updated configuration logic. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Menu
participant ImGui
User->>Menu: Open Performance Overlay
Menu->>ImGui: Render FPS Table (raw + post-FG if active)
Menu->>ImGui: Render Frametime Graph(s) (pre/post-FG if toggled)
Menu->>ImGui: Render Draw Calls Table
User->>Menu: Open Overlay Settings
Menu->>ImGui: Show Frametime Graph Toggles Only
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learningssrc/Menu.cpp (1)🧬 Code Graph Analysis (1)src/Menu.cpp (3)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
✅ A pre-release build is available for this PR: |
Summary by CodeRabbit
New Features
Refactor