summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-22 19:35:19 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-22 19:35:19 +0100
commit441e9237cd1c9c9b61d9b144b5b4dafa236ace28 (patch)
tree97624f464014ee3490e346601a5414aac2c9ec34 /src/application.rs
parenta2c897792ccb8f91a8479c1eca9146c439e9173b (diff)
downloadiced-441e9237cd1c9c9b61d9b144b5b4dafa236ace28.tar.gz
iced-441e9237cd1c9c9b61d9b144b5b4dafa236ace28.tar.bz2
iced-441e9237cd1c9c9b61d9b144b5b4dafa236ace28.zip
Rename `compositor::Renderer` to `Default`
Diffstat (limited to 'src/application.rs')
-rw-r--r--src/application.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.rs b/src/application.rs
index 62fe77da..9197834b 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -113,7 +113,7 @@ where
type Theme: Default;
/// The renderer of your [`Application`].
- type Renderer: text::Renderer + compositor::Renderer;
+ type Renderer: text::Renderer + compositor::Default;
/// The data needed to initialize your [`Application`].
type Flags;
@@ -215,7 +215,7 @@ where
let run = crate::shell::application::run::<
Instance<Self>,
Self::Executor,
- <Self::Renderer as compositor::Renderer>::Compositor,
+ <Self::Renderer as compositor::Default>::Compositor,
>(settings.into(), renderer_settings);
#[cfg(target_arch = "wasm32")]