summaryrefslogtreecommitdiffstats
path: root/examples/svg
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-24 02:08:20 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-24 02:08:20 +0100
commite657dc2ecd2ffa72c0abd87f9a59dcc1acbc7083 (patch)
tree1868220077e1b3f9ea57f601be2bd3aaf7def483 /examples/svg
parent999ad2d288a9354f045bb2e1b838014b3d302779 (diff)
downloadiced-e657dc2ecd2ffa72c0abd87f9a59dcc1acbc7083.tar.gz
iced-e657dc2ecd2ffa72c0abd87f9a59dcc1acbc7083.tar.bz2
iced-e657dc2ecd2ffa72c0abd87f9a59dcc1acbc7083.zip
Fine-tune `Catalog` approach for `button`, `checkbox`, and `svg`
Diffstat (limited to 'examples/svg')
-rw-r--r--examples/svg/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/svg/src/main.rs b/examples/svg/src/main.rs
index cc686dca..0dcf9bc1 100644
--- a/examples/svg/src/main.rs
+++ b/examples/svg/src/main.rs
@@ -31,7 +31,7 @@ impl Tiger {
));
let svg = svg(handle).width(Length::Fill).height(Length::Fill).style(
- |_theme, _status| svg::Appearance {
+ |_theme, _status| svg::Style {
color: if self.apply_color_filter {
Some(color!(0x0000ff))
} else {