ui: Make window border and sizing cursors be rendered correctly on Windows

This commit is contained in:
WerWolv
2021-12-10 16:09:55 +01:00
parent 620c68e3f1
commit edca3bebd7
6 changed files with 75 additions and 20 deletions

View File

@@ -400,8 +400,7 @@ namespace hex {
this->resetLayout();
}
this->updateNativeWindow();
this->beginNativeWindowFrame();
}
ImGui::End();
ImGui::PopStyleVar(2);
@@ -511,6 +510,7 @@ namespace hex {
}
void Window::frameEnd() {
this->endNativeWindowFrame();
ImGui::Render();
int displayWidth, displayHeight;