mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Do not wake up embedder on each animation tick
This commit is contained in:
parent
b7aaff4995
commit
016d9a62ab
4 changed files with 19 additions and 10 deletions
|
@ -450,7 +450,7 @@ pub enum DocumentState {
|
|||
|
||||
/// For a given pipeline, whether any animations are currently running
|
||||
/// and any animation callbacks are queued
|
||||
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize)]
|
||||
pub enum AnimationState {
|
||||
/// Animations are active but no callbacks are queued
|
||||
AnimationsPresent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue