Compiling checkpoint
This commit is contained in:
parent
f3a275d339
commit
24d19deb0b
6 changed files with 138 additions and 32 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue