compositing: Add some layer tree debugging infrastructure.

This commit is contained in:
Patrick Walton 2015-08-07 18:14:56 -07:00
parent df4acbac04
commit 300315bb78
3 changed files with 30 additions and 2 deletions

View file

@ -60,7 +60,7 @@ pub enum LayerKind {
}
/// The scrolling policy of a layer.
#[derive(Clone, PartialEq, Eq, Copy, Deserialize, Serialize)]
#[derive(Clone, PartialEq, Eq, Copy, Deserialize, Serialize, Debug)]
pub enum ScrollPolicy {
/// These layers scroll when the parent receives a scrolling message.
Scrollable,