Skip to content

Commit

Permalink
Always show unaligned widgets in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 26, 2024
1 parent 3cac4fc commit b6502df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ impl Default for DebugOptions {
show_resize: false,
show_interactive_widgets: false,
show_widget_hits: false,
show_unaligned: false,
show_unaligned: cfg!(debug_assertions),
}
}
}
Expand Down

0 comments on commit b6502df

Please sign in to comment.