Skip to content

Commit

Permalink
Added doc comments for UiDebugOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ickshonpe committed Dec 10, 2024
1 parent 0e93d4d commit df2fa77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_ui/src/render/debug_overlay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ use super::ExtractedUiNode;
use super::ExtractedUiNodes;
use super::NodeType;

/// Configuration for the UI debug overlay
#[derive(Resource)]
pub struct UiDebugOptions {
/// Set to true to enable the UI debug overlay
pub enabled: bool,
/// Width of the overlay's lines in logical pixels
pub line_width: f32,
}

Expand Down

0 comments on commit df2fa77

Please sign in to comment.