fix: Popups sometimes not appearing centered on the main window

This commit is contained in:
WerWolv
2023-06-10 15:15:38 +02:00
parent e90e414d5a
commit cde5940063
2 changed files with 2 additions and 2 deletions

View File

@@ -334,7 +334,7 @@ namespace hex {
static ImVec2 s_mainWindowPos;
static ImVec2 s_mainWindowSize;
void setMainWindowPosition(u32 x, u32 y) {
void setMainWindowPosition(i32 x, i32 y) {
s_mainWindowPos = ImVec2(x, y);
}