Skip to content

Commit

Permalink
Ensure that style hints are updated when bypasses are overridden.
Browse files Browse the repository at this point in the history
If the style hints are not updated, then an animation may be overridden by the element texture cache.  For example, the "big, red nodes" animation test on the debug page fails without this patch.

Ref : Use integer hash for style property hint keys #2027
  • Loading branch information
maxkfranz committed Nov 5, 2018
1 parent 47127b8 commit b4c2ba7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/style/bypass.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ styfn.overrideBypass = function( eles, name, value ){
} else {
prop.strValue = '' + value;
}

this.updateStyleHints( ele );
}

this.checkTriggers( ele, name, oldValue, value );
Expand Down

0 comments on commit b4c2ba7

Please sign in to comment.