fix: Hiding data inspector rows graying out row above it
This commit is contained in:
parent
0e9302ff08
commit
bd59bcda2c
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user