mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[sim] Fix GUI scaling of window sizes (#2668)
Also tweak initial sizes, positions, and visibility.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user