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:
Gilles Henaux 2025-04-10 22:31:18 +02:00 committed by François Mockers
parent 1c3a63ad47
commit 9ef8d19590

View File

@ -177,11 +177,11 @@ impl Plugin for WindowPlugin {
pub enum ExitCondition {
/// 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,
/// 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,
/// Keep application running headless even after closing all windows
///