Hotkeys: Fix Toggle OSD hotkey
This commit is contained in:
parent
88e18a8659
commit
3a13806f73
|
@ -134,6 +134,8 @@ static void HotkeyToggleOSD()
|
|||
g_settings.display_show_status_indicators ^= Host::GetBoolSettingValue("Display", "ShowStatusIndicators", true);
|
||||
g_settings.display_show_inputs ^= Host::GetBoolSettingValue("Display", "ShowInputs", false);
|
||||
g_settings.display_show_enhancements ^= Host::GetBoolSettingValue("Display", "ShowEnhancements", false);
|
||||
|
||||
GPUThread::UpdateSettings(true, false);
|
||||
}
|
||||
|
||||
#ifndef __ANDROID__
|
||||
|
|
|
@ -609,7 +609,7 @@ void ImGuiManager::DrawMediaCaptureOverlay(float& position_y, float scale, float
|
|||
|
||||
void ImGuiManager::DrawFrameTimeOverlay(float& position_y, float scale, float margin, float spacing)
|
||||
{
|
||||
if (!g_settings.display_show_frame_times || GPUThread::IsSystemPaused())
|
||||
if (!g_gpu_settings.display_show_frame_times || GPUThread::IsSystemPaused())
|
||||
return;
|
||||
|
||||
const float shadow_offset = std::ceil(1.0f * scale);
|
||||
|
|
Loading…
Reference in New Issue