| 1127 | }); |
| 1128 | } |
| 1129 | |
| 1130 | void AspectReapply() |
| 1131 | { |
| 1132 | // Re-resolve + apply the aspect settings for the current viewport. |
| 1133 | // Deferred so the engine mutation runs after ImGui::Render returns. |
| 1134 | Defer( |
| 1135 | [] |
| 1136 | { |
| 1137 | if (GEngine) |
| 1138 | GEngine->FireResizePostHook(GEngine->Width(), GEngine->Height()); |
| 1139 | }); |
| 1140 | } |
| 1141 | |
| 1142 | // Release the game's mouse grab while the panel is open so the cursor can |
no test coverage detected