Skip to content

Commit

Permalink
Merge pull request #2 from hate/window-theme-changed
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw authored May 18, 2023
2 parents 5f96043 + 85bf80c commit f61f735
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bevy_window/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ pub struct WindowMoved {

/// An event that is sent when system changed window theme.
///
/// It is only sent when [`Window::preferred_theme`](crate::window::Window::preferred_theme) is `None`.
/// This event is only sent when the window is relying on the system theme to control its appearance.
/// i.e. It is only sent when [`Window::preferred_theme`](crate::window::Window::preferred_theme) is `None` and the system theme changes.
#[derive(Debug, Clone, PartialEq, Eq, Reflect, FromReflect)]
#[reflect(Debug, PartialEq)]
#[cfg_attr(
Expand Down

0 comments on commit f61f735

Please sign in to comment.