Skip to content

Commit

Permalink
add missing type registration for Monitor (#16685)
Browse files Browse the repository at this point in the history
# Objective


![image](https://github.com/user-attachments/assets/4b8d6a2c-86ed-4353-8133-0e0efdb3a697)
make `Monitor` reflectable by default

## Solution

- register type
  • Loading branch information
jakobhellermann authored Dec 6, 2024
1 parent 5b1f0b1 commit 10e3cc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bevy_window/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ impl Plugin for WindowPlugin {
.register_type::<FileDragAndDrop>()
.register_type::<WindowMoved>()
.register_type::<WindowThemeChanged>()
.register_type::<AppLifecycle>();
.register_type::<AppLifecycle>()
.register_type::<Monitor>();

// Register window descriptor and related types
app.register_type::<Window>()
Expand Down

0 comments on commit 10e3cc7

Please sign in to comment.