mirror of
https://github.com/bevyengine/bevy
synced 2024-12-18 17:13:10 +00:00
add missing type registration for Monitor
(#16685)
# Objective ![image](https://github.com/user-attachments/assets/4b8d6a2c-86ed-4353-8133-0e0efdb3a697) make `Monitor` reflectable by default ## Solution - register type
This commit is contained in:
parent
5b1f0b1ef5
commit
10e3cc72ad
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ impl Plugin for WindowPlugin {
|
||||||
.register_type::<FileDragAndDrop>()
|
.register_type::<FileDragAndDrop>()
|
||||||
.register_type::<WindowMoved>()
|
.register_type::<WindowMoved>()
|
||||||
.register_type::<WindowThemeChanged>()
|
.register_type::<WindowThemeChanged>()
|
||||||
.register_type::<AppLifecycle>();
|
.register_type::<AppLifecycle>()
|
||||||
|
.register_type::<Monitor>();
|
||||||
|
|
||||||
// Register window descriptor and related types
|
// Register window descriptor and related types
|
||||||
app.register_type::<Window>()
|
app.register_type::<Window>()
|
||||||
|
|
Loading…
Reference in a new issue