Compiling checkpoint

This commit is contained in:
Nathan Sobo 2023-08-17 14:05:18 -06:00
parent f3a275d339
commit 24d19deb0b
6 changed files with 138 additions and 32 deletions

View file

@ -408,7 +408,15 @@ pub trait Element<V: 'static>: 'static {
where
Self: Sized,
{
self.style_mut().fill = fill.into();
self.style_mut().fill = Some(fill.into());
self
}
fn hover_fill(mut self, fill: impl Into<Fill>) -> Self
where
Self: Sized,
{
self.style_mut().hover_fill = Some(fill.into());
self
}