element scroll setters

This commit is contained in:
Zhen Zhang 2016-04-14 15:19:12 +08:00
parent fefdaf76de
commit 11b12f677b
8 changed files with 364 additions and 41 deletions

View file

@ -720,7 +720,9 @@ impl<Window: WindowMethods> IOCompositor<Window> {
let typed = layer.extra_data.borrow().scroll_offset;
let _ = sender.send(Point2D::new(typed.x.get(), typed.y.get()));
},
None => {},
None => {
warn!("Can't find requested layer in handling Msg::GetScrollOffset");
},
}
}