1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Welcome screen having a weird header

This commit is contained in:
WerWolv 2023-11-02 09:34:03 +01:00
parent 4e6af607e8
commit cd6a62dd27

View File

@ -331,7 +331,7 @@ namespace hex::plugin::builtin {
ImGui::SetNextWindowScroll(ImVec2(0.0F, -1.0F));
ImGui::SetNextWindowSize(ImGui::GetContentRegionAvail() + scaled({ 0, 10 }));
if (ImGui::Begin("Welcome Screen", nullptr, ImGuiWindowFlags_AlwaysUseWindowPadding | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove)) {
if (ImGui::Begin("Welcome Screen", nullptr, ImGuiWindowFlags_AlwaysUseWindowPadding | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoDocking | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove)) {
drawWelcomeScreenContent();
}
ImGui::End();