Rename compositor::Renderer to Default

This commit is contained in:
Héctor Ramón Jiménez 2024-03-22 19:35:19 +01:00
parent a2c897792c
commit 441e9237cd
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 26 additions and 21 deletions

View file

@ -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")]