Fix input viewer's first-open position calculation. (#5376)

This commit is contained in:
Malkierian
2025-04-10 06:49:21 -07:00
committed by GitHub
parent 85bc67ef24
commit 1791a0c52c

View File

@@ -151,7 +151,7 @@ void InputViewer::DrawElement() {
}
ImVec2 mainPos = ImGui::GetWindowPos();
ImVec2 size = ImGui::GetContentRegionAvail();
ImVec2 size = ImGui::GetMainViewport()->WorkSize;
#ifdef __WIIU__
const float scale = CVarGetFloat(CVAR_INPUT_VIEWER("Scale"), 1.0f) * 2.0f;