Skip to content

Commit 112af34

Browse files
committed
update cache in controller update method
1 parent 1616a85 commit 112af34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/ParallaxController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function ParallaxController({ scrollAxis = VERTICAL, scrollContainer }) {
194194
*/
195195
this.update = function() {
196196
_setViewSize();
197-
_updateAllElements();
197+
_updateAllElements({ updateCache: true });
198198
};
199199

200200
this.updateScrollContainer = function(el) {

0 commit comments

Comments
 (0)