mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
compositing: Add some layer tree debugging infrastructure.
This commit is contained in:
parent
df4acbac04
commit
300315bb78
3 changed files with 30 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue