Fixed animations

This commit is contained in:
ztimson 2019-07-22 13:28:48 -04:00
parent b18dffe663
commit 62dd88989b

View File

@ -10,11 +10,14 @@ import {flyInRight, flyOutRight} from "../../animations";
declare const google; declare const google;
const flyInRightFast = flyInRight('150ms');
const flyOutRightFast = flyOutRight('150ms');
@Component({ @Component({
selector: 'map', selector: 'map',
templateUrl: 'map.component.html', templateUrl: 'map.component.html',
styleUrls: ['map.component.scss'], styleUrls: ['map.component.scss'],
animations: [flyInRight('150ms'), flyOutRight('150ms')] animations: [flyInRightFast, flyOutRightFast]
}) })
export class MapComponent { export class MapComponent {
drawColor: string; drawColor: string;