mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Fix loading screen on some window systems
This commit is contained in:
parent
9d592ceabd
commit
19bfb53609
2 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ namespace satdump
|
|||
|
||||
if(width > height)
|
||||
{
|
||||
ImVec2 reference_pos = { (float)width * 0.2f, ((float)height * 0.5f) - (125 * scale)};
|
||||
ImVec2 reference_pos = { ((float)width * 0.5f) - (300 * scale), ((float)height * 0.5f) - (125 * scale)};
|
||||
ImGui::SetCursorPos(reference_pos);
|
||||
ImGui::Image((void*)(intptr_t)(*image_texture), ImVec2(200 * scale, 200 * scale));
|
||||
ImGui::SetCursorPos({ reference_pos.x + (230 * scale), reference_pos.y + (40 * scale) });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue