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 GitHub
parent 6d4a9ad01c
commit e7558cd0da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
///