1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

reduce animation time

This commit is contained in:
Kyle Spearrin 2018-04-09 09:01:21 -04:00
parent 857754e6e9
commit 2f00dbf1bb

View File

@ -11,7 +11,7 @@ const queryShown = query(':enter, :leave', [
style({ position: 'fixed', width: '100%', height: '100%' }) style({ position: 'fixed', width: '100%', height: '100%' })
], { optional: true }); ], { optional: true });
const speed = '0.5s'; const speed = '0.4s';
export function queryTranslate(direction: string, axis: string, from: number, to: number, zIndex: number = 1000) { export function queryTranslate(direction: string, axis: string, from: number, to: number, zIndex: number = 1000) {
return query(':' + direction, [ return query(':' + direction, [