mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
impr: Remove shadow drawn by the no views open window
This commit is contained in:
@@ -396,6 +396,7 @@ namespace hex::plugin::builtin {
|
||||
* @brief Draw some default background if there are no views available in the current layout
|
||||
*/
|
||||
void drawNoViewsBackground() {
|
||||
ImGui::PushStyleColor(ImGuiCol_WindowShadow, 0x00);
|
||||
if (ImGui::Begin("ImHexDockSpace")) {
|
||||
static std::array<char, 256> title;
|
||||
ImFormatString(title.data(), title.size(), "%s/DockSpace_%08X", ImGui::GetCurrentWindowRead()->Name, ImGui::GetID("ImHexMainDock"));
|
||||
@@ -434,6 +435,7 @@ namespace hex::plugin::builtin {
|
||||
ImGui::End();
|
||||
}
|
||||
ImGui::End();
|
||||
ImGui::PopStyleColor();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user