summaryrefslogtreecommitdiffstats
path: root/examples/scrollable
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 03:27:55 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 03:27:55 +0100
commitdf7877767567cc0c7f48d2d6da4680a55f0f7b6d (patch)
tree66773a33f34b2d31b10d3d1bee69e264760160a0 /examples/scrollable
parentf04336dd5cf5e15bbcf48cd54b7e97c569c07a92 (diff)
downloadiced-df7877767567cc0c7f48d2d6da4680a55f0f7b6d.tar.gz
iced-df7877767567cc0c7f48d2d6da4680a55f0f7b6d.tar.bz2
iced-df7877767567cc0c7f48d2d6da4680a55f0f7b6d.zip
Box `Custom` in `Theme`
Diffstat (limited to 'examples/scrollable')
-rw-r--r--examples/scrollable/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scrollable/src/main.rs b/examples/scrollable/src/main.rs
index 7e1716cf..6eba34e2 100644
--- a/examples/scrollable/src/main.rs
+++ b/examples/scrollable/src/main.rs
@@ -205,7 +205,7 @@ impl Application for ScrollableDemo {
}
fn theme(&self) -> Theme {
- self.theme
+ self.theme.clone()
}
}