summaryrefslogtreecommitdiffstats
path: root/examples/styling
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/styling
parentf04336dd5cf5e15bbcf48cd54b7e97c569c07a92 (diff)
downloadiced-df7877767567cc0c7f48d2d6da4680a55f0f7b6d.tar.gz
iced-df7877767567cc0c7f48d2d6da4680a55f0f7b6d.tar.bz2
iced-df7877767567cc0c7f48d2d6da4680a55f0f7b6d.zip
Box `Custom` in `Theme`
Diffstat (limited to 'examples/styling')
-rw-r--r--examples/styling/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs
index 6bcfa5f1..e16860ad 100644
--- a/examples/styling/src/main.rs
+++ b/examples/styling/src/main.rs
@@ -159,6 +159,6 @@ impl Sandbox for Styling {
}
fn theme(&self) -> Theme {
- self.theme
+ self.theme.clone()
}
}