Do not wake up embedder on each animation tick

This commit is contained in:
Paul Rouget 2019-12-16 16:48:18 +01:00
parent b7aaff4995
commit 016d9a62ab
4 changed files with 19 additions and 10 deletions

View file

@ -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,