fix(ags player): make sliding away more opaque

This commit is contained in:
matt1432 2023-12-12 00:35:44 -05:00
parent 3cfc50a3a9
commit ff1002c970

View file

@ -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, () => {