mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-06 22:57:21 +02:00
fix code block auto-animate bug that caused unmatched lines to appear without fading in
This commit is contained in:
@@ -504,7 +504,7 @@ export default class AutoAnimate {
|
||||
} );
|
||||
|
||||
// Line numbers
|
||||
this.findAutoAnimateMatches( pairs, pair.from, pair.to, '.hljs .hljs-ln-line[data-line-number]', node => {
|
||||
this.findAutoAnimateMatches( pairs, pair.from, pair.to, '.hljs .hljs-ln-numbers[data-line-number]', node => {
|
||||
return node.getAttribute( 'data-line-number' );
|
||||
}, {
|
||||
scale: false,
|
||||
|
Reference in New Issue
Block a user