Fix documentation: incorrect references to the Update
schedule in ExitCondition
(#18438)
# Objective - The referenced `ScheduleLabel` for `OnPrimaryClosed` and `OnAllClosed` in `ExitCondition` was incorrect ## Solution - Changed `Update` to `PostUpdate`
This commit is contained in:
parent
1c3a63ad47
commit
9ef8d19590
@ -177,11 +177,11 @@ impl Plugin for WindowPlugin {
|
|||||||
pub enum ExitCondition {
|
pub enum ExitCondition {
|
||||||
/// Close application when the primary window is closed
|
/// Close application when the primary window is closed
|
||||||
///
|
///
|
||||||
/// The plugin will add [`exit_on_primary_closed`] to [`Update`].
|
/// The plugin will add [`exit_on_primary_closed`] to [`PostUpdate`].
|
||||||
OnPrimaryClosed,
|
OnPrimaryClosed,
|
||||||
/// Close application when all windows are closed
|
/// Close application when all windows are closed
|
||||||
///
|
///
|
||||||
/// The plugin will add [`exit_on_all_closed`] to [`Update`].
|
/// The plugin will add [`exit_on_all_closed`] to [`PostUpdate`].
|
||||||
OnAllClosed,
|
OnAllClosed,
|
||||||
/// Keep application running headless even after closing all windows
|
/// Keep application running headless even after closing all windows
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user