ImGuiManager: Tweak OSD message rounding

This commit is contained in:
Stenzek 2025-03-22 12:51:07 +10:00
parent f4e93df1b1
commit 3ab3e4be06
No known key found for this signature in database

View File

@ -965,8 +965,8 @@ void ImGuiManager::DrawOSDMessages(Timer::Value current_time)
const float scale = s_state.global_scale;
const float spacing = std::ceil(6.0f * scale);
const float margin = std::ceil(s_state.screen_margin * scale);
const float padding = std::ceil(9.0f * scale);
const float rounding = std::ceil(6.0f * scale);
const float padding = std::ceil(10.0f * scale);
const float rounding = std::ceil(10.0f * scale);
const float max_width = s_state.window_width - (margin + padding) * 2.0f;
const bool show_messages = g_gpu_settings.display_show_messages;
float position_x = margin;