![]() # Objective I was building out a diagnostics panel in egui when I noticed that I could specify the max history length for the `FrameTimeDiagnosticsPlugin`, but not for the `EntityCountDiagnosticsPlugin`. The objective was to harmonize the two, making the diagnostic history length configurable for both. ## Solution I added a `EntityCountDiagnosticsPlugin::new`, and a `Default` impl that matches `FrameTimeDiagnosticsPlugin`. This is a breaking change, given the plugin had no fields previously. ## Testing I did not test this. |
||
---|---|---|
.. | ||
diagnostic.rs | ||
entity_count_diagnostics_plugin.rs | ||
frame_count_diagnostics_plugin.rs | ||
frame_time_diagnostics_plugin.rs | ||
lib.rs | ||
log_diagnostics_plugin.rs | ||
system_information_diagnostics_plugin.rs |