diff options
author | 2023-01-02 18:14:31 -0800 | |
---|---|---|
committer | 2023-01-09 11:28:07 -0800 | |
commit | f43419d4752fe18065c0e1b7c2a26e65b9d6e253 (patch) | |
tree | 05d816ef52d5ce69c8cc7ed6a3c4bd39289f2402 /examples/multi_window | |
parent | 942f1c91afb8257e289af8d0c229f74819f68361 (diff) | |
download | iced-f43419d4752fe18065c0e1b7c2a26e65b9d6e253.tar.gz iced-f43419d4752fe18065c0e1b7c2a26e65b9d6e253.tar.bz2 iced-f43419d4752fe18065c0e1b7c2a26e65b9d6e253.zip |
Fixed issue with window ID on winit
Diffstat (limited to 'examples/multi_window')
-rw-r--r-- | examples/multi_window/Cargo.toml | 1 | ||||
-rw-r--r-- | examples/multi_window/src/main.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/multi_window/Cargo.toml b/examples/multi_window/Cargo.toml index 9c3d0f21..6de895d7 100644 --- a/examples/multi_window/Cargo.toml +++ b/examples/multi_window/Cargo.toml @@ -8,5 +8,6 @@ publish = false [dependencies] iced = { path = "../..", features = ["debug", "multi_window"] } +env_logger = "0.10.0" iced_native = { path = "../../native" } iced_lazy = { path = "../../lazy" }
\ No newline at end of file diff --git a/examples/multi_window/src/main.rs b/examples/multi_window/src/main.rs index 9b93eea6..9fe6b481 100644 --- a/examples/multi_window/src/main.rs +++ b/examples/multi_window/src/main.rs @@ -15,6 +15,8 @@ use iced_native::{event, subscription, Event}; use std::collections::HashMap; pub fn main() -> iced::Result { + env_logger::init(); + Example::run(Settings::default()) } |