summaryrefslogtreecommitdiffstats
path: root/examples/multi_window
diff options
context:
space:
mode:
authorLibravatar bungoboingo <shankern@protonmail.com>2023-01-02 18:14:31 -0800
committerLibravatar bungoboingo <shankern@protonmail.com>2023-01-09 11:28:07 -0800
commitf43419d4752fe18065c0e1b7c2a26e65b9d6e253 (patch)
tree05d816ef52d5ce69c8cc7ed6a3c4bd39289f2402 /examples/multi_window
parent942f1c91afb8257e289af8d0c229f74819f68361 (diff)
downloadiced-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.toml1
-rw-r--r--examples/multi_window/src/main.rs2
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())
}