Only blink local cursors

This commit is contained in:
Nathan Sobo
2021-09-17 16:17:47 -07:00
parent 9a9c8aec3f
commit 9691267dc8
3 changed files with 17 additions and 8 deletions
+8
View File
@@ -286,6 +286,14 @@ impl<'a> PaintContext<'a> {
}
}
impl<'a> Deref for PaintContext<'a> {
type Target = AppContext;
fn deref(&self) -> &Self::Target {
self.app
}
}
pub struct EventContext<'a> {
rendered_views: &'a mut HashMap<usize, ElementBox>,
dispatched_actions: Vec<DispatchDirective>,