mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +00:00
Pop inactive color before View button
This commit is contained in:
@@ -216,12 +216,12 @@ void ImGuiConsole::BeginEntityRow(const ImGuiEntityEntry& entry) {
|
||||
}
|
||||
|
||||
void ImGuiConsole::EndEntityRow(const ImGuiEntityEntry& entry) {
|
||||
ImGui::PopStyleColor();
|
||||
if (ImGui::TableNextColumn()) {
|
||||
if (ImGui::SmallButton("View")) {
|
||||
ImGuiConsole::inspectingEntities.insert(entry.uid);
|
||||
}
|
||||
}
|
||||
ImGui::PopStyleColor();
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user