diff options
author | 2024-04-30 21:59:46 +0200 | |
---|---|---|
committer | 2024-04-30 21:59:46 +0200 | |
commit | c51b85e7ab067f5e7411eccd10a5ae192e6ee0a8 (patch) | |
tree | 05d9c173f5679c3e3affc60a5f5d7f25cd623d83 /examples/the_matrix | |
parent | cfe4ddb86620f9b21027c8a828e80df9a8887407 (diff) | |
download | iced-c51b85e7ab067f5e7411eccd10a5ae192e6ee0a8.tar.gz iced-c51b85e7ab067f5e7411eccd10a5ae192e6ee0a8.tar.bz2 iced-c51b85e7ab067f5e7411eccd10a5ae192e6ee0a8.zip |
Invalidate text uploads after atlas trimming
Diffstat (limited to 'examples/the_matrix')
-rw-r--r-- | examples/the_matrix/Cargo.toml | 1 | ||||
-rw-r--r-- | examples/the_matrix/src/main.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/the_matrix/Cargo.toml b/examples/the_matrix/Cargo.toml index 17cf443b..775e76e0 100644 --- a/examples/the_matrix/Cargo.toml +++ b/examples/the_matrix/Cargo.toml @@ -10,3 +10,4 @@ iced.workspace = true iced.features = ["canvas", "tokio", "debug"] rand = "0.8" +tracing-subscriber = "0.3" diff --git a/examples/the_matrix/src/main.rs b/examples/the_matrix/src/main.rs index 4ed1db32..f3a67ac8 100644 --- a/examples/the_matrix/src/main.rs +++ b/examples/the_matrix/src/main.rs @@ -9,6 +9,8 @@ use iced::{ use std::cell::RefCell; pub fn main() -> iced::Result { + tracing_subscriber::fmt::init(); + iced::program("The Matrix - Iced", TheMatrix::update, TheMatrix::view) .subscription(TheMatrix::subscription) .antialiasing(true) |