fix(ags player): make sliding away more opaque
This commit is contained in:
parent
3cfc50a3a9
commit
ff1002c970
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ export default ({
|
||||||
${TRANSITION}
|
${TRANSITION}
|
||||||
margin-left: ${OFFSCREEN}px;
|
margin-left: ${OFFSCREEN}px;
|
||||||
margin-right: -${OFFSCREEN}px;
|
margin-right: -${OFFSCREEN}px;
|
||||||
opacity: 0; ${playerBox._bgStyle}
|
opacity: 0.7; ${playerBox._bgStyle}
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ export default ({
|
||||||
${TRANSITION}
|
${TRANSITION}
|
||||||
margin-left: -${OFFSCREEN}px;
|
margin-left: -${OFFSCREEN}px;
|
||||||
margin-right: ${OFFSCREEN}px;
|
margin-right: ${OFFSCREEN}px;
|
||||||
opacity: 0; ${playerBox._bgStyle}`);
|
opacity: 0.7; ${playerBox._bgStyle}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
timeout(ANIM_DURATION, () => {
|
timeout(ANIM_DURATION, () => {
|
||||||
|
|
Loading…
Reference in a new issue