Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 112af34

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /