FullscreenUI: Fix OSD showing over debug menu
This commit is contained in:
parent
9a8cb97875
commit
4df9778e85
|
@ -2934,7 +2934,7 @@ void DrawOSDMessages()
|
||||||
const float margin = LayoutScale(10.0f);
|
const float margin = LayoutScale(10.0f);
|
||||||
const float padding = LayoutScale(10.0f);
|
const float padding = LayoutScale(10.0f);
|
||||||
float position_x = margin;
|
float position_x = margin;
|
||||||
float position_y = margin;
|
float position_y = margin + static_cast<float>(s_host_interface->GetDisplay()->GetDisplayTopMargin());
|
||||||
|
|
||||||
s_host_interface->EnumerateOSDMessages(
|
s_host_interface->EnumerateOSDMessages(
|
||||||
[max_width, spacing, padding, &position_x, &position_y](const std::string& message, float time_remaining) -> bool {
|
[max_width, spacing, padding, &position_x, &position_y](const std::string& message, float time_remaining) -> bool {
|
||||||
|
|
Loading…
Reference in New Issue