summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-16 16:12:07 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-16 16:12:07 +0100
commitbb71e8481ed59f991b9bd9dc55ea7e011ba0aac6 (patch)
tree3e6a5550cd726af978fbc884f5f6af5bd68dfafd /examples/custom_shader/src/main.rs
parent3f81c524ccad2dd3fc4e6144f68b133132b1421b (diff)
downloadiced-bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6.tar.gz
iced-bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6.tar.bz2
iced-bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6.zip
Make `sandbox` helper take a `title` as well
Diffstat (limited to 'examples/custom_shader/src/main.rs')
-rw-r--r--examples/custom_shader/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/custom_shader/src/main.rs b/examples/custom_shader/src/main.rs
index 5ba9a5d4..341b77b6 100644
--- a/examples/custom_shader/src/main.rs
+++ b/examples/custom_shader/src/main.rs
@@ -9,9 +9,8 @@ use iced::window;
use iced::{Alignment, Color, Element, Length, Subscription};
fn main() -> iced::Result {
- iced::sandbox(IcedCubes::update, IcedCubes::view)
+ iced::sandbox("Custom Shader - Iced", IcedCubes::update, IcedCubes::view)
.subscription(IcedCubes::subscription)
- .title("Custom Shader - Iced")
.run()
}