diff options
| author | Dentomologist <dentomologist@gmail.com> | 2026-02-05 12:50:17 -0800 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2026-02-06 13:30:48 -0800 |
| commit | 4b5b2ebd2ffc64887d18bd426f13c4f2a012e7c8 (patch) | |
| tree | c197a092a4fc93aafee90caee124fbae0144fdf5 /Source/Core/VideoCommon | |
| parent | c792454f794e4bfd4ceb0095b57998dbaeddc729 (diff) | |
PerformanceMetrics: Add padding below graph
Add vertical padding between the performance graph (when it's enabled)
and the FPS/VPS/Speed overlays.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/PerformanceMetrics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PerformanceMetrics.cpp b/Source/Core/VideoCommon/PerformanceMetrics.cpp index d00e5dbbba..8b47db53c3 100644 --- a/Source/Core/VideoCommon/PerformanceMetrics.cpp +++ b/Source/Core/VideoCommon/PerformanceMetrics.cpp @@ -211,7 +211,7 @@ void PerformanceMetrics::DrawImGuiStats(const float backbuffer_scale) 2000.0}; clamp_window_position(); - window_y += ImGui::GetWindowHeight(); + window_y += ImGui::GetWindowHeight() + window_padding; const DT vblank_time = m_vps_counter.GetDtAvg() + 2 * m_vps_counter.GetDtStd(); const DT frame_time = m_fps_counter.GetDtAvg() + 2 * m_fps_counter.GetDtStd(); |
