Checkpoint
This commit is contained in:
parent
f4d8763d2b
commit
ff7b25c538
6 changed files with 146 additions and 133 deletions
|
@ -9,7 +9,7 @@ use gpui::platform::MouseMovedEvent;
|
|||
use refineable::Refineable;
|
||||
use std::{cell::Cell, marker::PhantomData};
|
||||
|
||||
pub struct Hoverable<V, E: Element<V> + Styleable> {
|
||||
pub struct Hoverable<V: 'static, E: Element<V> + Styleable> {
|
||||
hovered: Cell<bool>,
|
||||
child_style: StyleRefinement,
|
||||
hovered_style: StyleRefinement,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue