Skip to content

Commit

Permalink
ui/profiler: Use columns_const
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtpap committed Oct 7, 2024
1 parent 00cb1f1 commit 58c0e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/profiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ impl Profiler {

ui.separator();

ui.columns(2, |ui| {
ui.columns_const::<2, _>( |ui| {
profiler_plot(
&mut ui[0],
"Driver Timing",
Expand Down Expand Up @@ -589,7 +589,7 @@ impl Profiler {

ui.separator();

ui.columns(3, |ui| {
ui.columns_const::<3,_>(|ui| {
for (i, (heading, explanation, id, measurement)) in [
(
"Clients End Date",
Expand Down

0 comments on commit 58c0e2c

Please sign in to comment.