mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-05 22:27:37 +02:00
fix auto-animate error and spec
This commit is contained in:
@@ -343,6 +343,7 @@ export default class AutoAnimate {
|
||||
bounds = elementOptions.measure( element );
|
||||
}
|
||||
else {
|
||||
let scale = this.Reveal.getScale();
|
||||
bounds = {
|
||||
x: element.offsetLeft * scale,
|
||||
y: element.offsetTop * scale,
|
||||
|
Reference in New Issue
Block a user