From 4df9778e85b1321cbd21cbe3e52ede4623abe2f7 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 1 Mar 2021 02:21:04 +1000 Subject: [PATCH] FullscreenUI: Fix OSD showing over debug menu --- src/frontend-common/fullscreen_ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/fullscreen_ui.cpp b/src/frontend-common/fullscreen_ui.cpp index 270f7be26..16747eb71 100644 --- a/src/frontend-common/fullscreen_ui.cpp +++ b/src/frontend-common/fullscreen_ui.cpp @@ -2934,7 +2934,7 @@ void DrawOSDMessages() const float margin = LayoutScale(10.0f); const float padding = LayoutScale(10.0f); float position_x = margin; - float position_y = margin; + float position_y = margin + static_cast(s_host_interface->GetDisplay()->GetDisplayTopMargin()); s_host_interface->EnumerateOSDMessages( [max_width, spacing, padding, &position_x, &position_y](const std::string& message, float time_remaining) -> bool {