Merge branch 'dev' into next
This commit is contained in:
+2
-2
@@ -243,8 +243,8 @@ export default createComponent({
|
||||
state.rect = rect;
|
||||
state.swiping = true;
|
||||
state.active = active;
|
||||
state.width = Math.round(+props.width || rect.width);
|
||||
state.height = Math.round(+props.height || rect.height);
|
||||
state.width = Math.floor(+props.width || rect.width);
|
||||
state.height = Math.floor(+props.height || rect.height);
|
||||
state.offset = getTargetOffset(active);
|
||||
children.forEach((swipe) => {
|
||||
swipe.setOffset(0);
|
||||
|
||||
@@ -41,7 +41,8 @@
|
||||
background-color: @swipe-indicator-inactive-background-color;
|
||||
border-radius: 100%;
|
||||
opacity: @swipe-indicator-inactive-opacity;
|
||||
transition: opacity 0.2s;
|
||||
transition: opacity @animation-duration-fast,
|
||||
background-color @animation-duration-fast;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: @swipe-indicator-size;
|
||||
|
||||
Reference in New Issue
Block a user