summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-01-22 11:48:38 +0100
committerLibravatar GitHub <noreply@github.com>2024-01-22 11:48:38 +0100
commit416e0026c021a8222c925979053d985553f947a6 (patch)
treebeb8bb6fd28459d6a0b4c39fb5812f9c126a035e /examples/custom_shader/src/main.rs
parent545cc909c9f356dd733d273173694db9b8c28594 (diff)
parente695f7a04c16f786154f25a486b649ddbfd62939 (diff)
downloadiced-416e0026c021a8222c925979053d985553f947a6.tar.gz
iced-416e0026c021a8222c925979053d985553f947a6.tar.bz2
iced-416e0026c021a8222c925979053d985553f947a6.zip
Merge pull request #2209 from iced-rs/remove-associated-theme
`Themer` widget
Diffstat (limited to 'examples/custom_shader/src/main.rs')
-rw-r--r--examples/custom_shader/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/custom_shader/src/main.rs b/examples/custom_shader/src/main.rs
index 3bfa3a43..78b2fbbb 100644
--- a/examples/custom_shader/src/main.rs
+++ b/examples/custom_shader/src/main.rs
@@ -8,8 +8,8 @@ use iced::widget::shader::wgpu;
use iced::widget::{checkbox, column, container, row, shader, slider, text};
use iced::window;
use iced::{
- Alignment, Application, Color, Command, Element, Length, Renderer,
- Subscription, Theme,
+ Alignment, Application, Color, Command, Element, Length, Subscription,
+ Theme,
};
fn main() -> iced::Result {
@@ -72,7 +72,7 @@ impl Application for IcedCubes {
Command::none()
}
- fn view(&self) -> Element<'_, Self::Message, Renderer<Self::Theme>> {
+ fn view(&self) -> Element<'_, Self::Message> {
let top_controls = row![
control(
"Amount",