fix: typo
This commit is contained in:
parent
af6e64ffc2
commit
76d3930983
@ -8258,7 +8258,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
scrollX,
|
scrollX,
|
||||||
scrollY,
|
scrollY,
|
||||||
});
|
});
|
||||||
this.animateConstainedScroll({
|
this.animateConstrainedScroll({
|
||||||
...constrainedScrollValues,
|
...constrainedScrollValues,
|
||||||
opts: {
|
opts: {
|
||||||
onEndCallback: () => {
|
onEndCallback: () => {
|
||||||
@ -8463,7 +8463,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
/**
|
/**
|
||||||
* Animate the scroll values to the constrained area
|
* Animate the scroll values to the constrained area
|
||||||
*/
|
*/
|
||||||
private animateConstainedScroll = ({
|
private animateConstrainedScroll = ({
|
||||||
constrainedScrollX,
|
constrainedScrollX,
|
||||||
constrainedScrollY,
|
constrainedScrollY,
|
||||||
opts,
|
opts,
|
||||||
@ -8556,7 +8556,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
|
|
||||||
if (isStateChanged) {
|
if (isStateChanged) {
|
||||||
if (shouldAnimate) {
|
if (shouldAnimate) {
|
||||||
this.animateConstainedScroll({
|
this.animateConstrainedScroll({
|
||||||
constrainedScrollX,
|
constrainedScrollX,
|
||||||
constrainedScrollY,
|
constrainedScrollY,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user