[sim] Fix GUI scaling of window sizes (#2668)

Also tweak initial sizes, positions, and visibility.
This commit is contained in:
Peter Johnson
2020-08-29 15:07:12 -07:00
committed by GitHub
parent 70db0db221
commit c0de98f9f2
4 changed files with 6 additions and 3 deletions

View File

@@ -210,6 +210,8 @@ bool HALSimGui::Initialize() {
if ((window.posCond & ImGuiCond_FirstUseEver) != 0) {
window.pos.x *= windowScale;
window.pos.y *= windowScale;
window.size.x *= windowScale;
window.size.y *= windowScale;
}
}
});