1
0
mirror of synced 2025-01-18 00:56:49 +01:00

fix: Hiding data inspector rows graying out row above it

This commit is contained in:
WerWolv 2023-11-19 15:55:05 +01:00
parent 0e9302ff08
commit bd59bcda2c

View File

@ -237,12 +237,12 @@ namespace hex::plugin::builtin {
grayedOut = true; grayedOut = true;
} }
ImGui::BeginDisabled(grayedOut);
ImGui::PushID(inspectorRowId); ImGui::PushID(inspectorRowId);
ImGui::TableNextRow(); ImGui::TableNextRow();
ImGui::TableNextColumn(); ImGui::TableNextColumn();
ImGui::BeginDisabled(grayedOut);
// Render inspector row name // Render inspector row name
ImGui::TextUnformatted(LangEntry(unlocalizedName)); ImGui::TextUnformatted(LangEntry(unlocalizedName));
ImGui::TableNextColumn(); ImGui::TableNextColumn();