mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01:00
remove slideIn animation as it doesn't support the "show animations" setting (#11591)
This commit is contained in:
parent
4b9fbfc832
commit
116d2166c3
@ -1,4 +1,4 @@
|
|||||||
<popup-page @slideIn>
|
<popup-page>
|
||||||
<popup-header
|
<popup-header
|
||||||
slot="header"
|
slot="header"
|
||||||
[backAction]="close"
|
[backAction]="close"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { animate, group, style, transition, trigger } from "@angular/animations";
|
|
||||||
import { DIALOG_DATA, DialogConfig, DialogRef } from "@angular/cdk/dialog";
|
import { DIALOG_DATA, DialogConfig, DialogRef } from "@angular/cdk/dialog";
|
||||||
import { Overlay } from "@angular/cdk/overlay";
|
import { Overlay } from "@angular/cdk/overlay";
|
||||||
import { CommonModule } from "@angular/common";
|
import { CommonModule } from "@angular/common";
|
||||||
@ -26,16 +25,6 @@ export enum GeneratorDialogAction {
|
|||||||
Canceled = "canceled",
|
Canceled = "canceled",
|
||||||
}
|
}
|
||||||
|
|
||||||
const slideIn = trigger("slideIn", [
|
|
||||||
transition(":enter", [
|
|
||||||
style({ opacity: 0, transform: "translateY(100vh)" }),
|
|
||||||
group([
|
|
||||||
animate("0.15s linear", style({ opacity: 1 })),
|
|
||||||
animate("0.3s ease-out", style({ transform: "none" })),
|
|
||||||
]),
|
|
||||||
]),
|
|
||||||
]);
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-vault-generator-dialog",
|
selector: "app-vault-generator-dialog",
|
||||||
templateUrl: "./vault-generator-dialog.component.html",
|
templateUrl: "./vault-generator-dialog.component.html",
|
||||||
@ -48,7 +37,6 @@ const slideIn = trigger("slideIn", [
|
|||||||
CipherFormGeneratorComponent,
|
CipherFormGeneratorComponent,
|
||||||
ButtonModule,
|
ButtonModule,
|
||||||
],
|
],
|
||||||
animations: [slideIn],
|
|
||||||
})
|
})
|
||||||
export class VaultGeneratorDialogComponent {
|
export class VaultGeneratorDialogComponent {
|
||||||
protected title = this.i18nService.t(this.isPassword ? "passwordGenerator" : "usernameGenerator");
|
protected title = this.i18nService.t(this.isPassword ? "passwordGenerator" : "usernameGenerator");
|
||||||
|
Loading…
Reference in New Issue
Block a user