| 1214 | { |
| 1215 | bool bVisible = !HiddenVisualizerTypes.Contains(Struct); |
| 1216 | if (ImGui::Checkbox(*Struct->MakeDisplayName(), &bVisible)) |
| 1217 | { |
| 1218 | if (bVisible) |
| 1219 | { |
| 1220 | HiddenVisualizerTypes.Remove(Struct); |
| 1221 | } |
| 1222 | else |
| 1223 | { |
| 1224 | HiddenVisualizerTypes.Add(Struct); |
| 1225 | } |
| 1226 | } |
| 1227 | } |
| 1228 | |
| 1229 | ImGui::EndDisabled(); |
| 1230 | ImGui::EndMenu(); |
| 1231 | } |
| 1232 |
nothing calls this directly
no test coverage detected