mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Fix input viewer's first-open position calculation. (#5376)
This commit is contained in:
parent
85bc67ef24
commit
1791a0c52c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue