mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
bafffe1c5f
# Objective
I noticed some issues in `screenshot` example:
1. Cursor icon won't return from `SystemCursorIcon::Progress` to default
icon, even though screen shot saving is done.
2. Panics when exiting window: ``called `Result::unwrap()` on an `Err`
value:
NoEntities("bevy_ecs::query::state::QueryState<bevy_ecs::entity::Entity,
bevy_ecs::query::filter::With<bevy_window:🪟:Window>>")``
## Solution
1. Caused by cursor updating system not responding to [`CursorIcon`
component
removal](
|
||
---|---|---|
.. | ||
clear_color.rs | ||
custom_user_event.rs | ||
low_power.rs | ||
monitor_info.rs | ||
multiple_windows.rs | ||
scale_factor_override.rs | ||
screenshot.rs | ||
transparent_window.rs | ||
window_resizing.rs | ||
window_settings.rs |