Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
fix(gallery): fix will close output not emitting on pull down
Browse files Browse the repository at this point in the history
  • Loading branch information
garygrossgarten committed Jul 10, 2019
1 parent 524df52 commit 5600335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/core/src/lib/gallery/gallery.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ export class FivGallery implements OnInit, AfterContentInit {
}

close() {
this.willClose.emit(this.initialImage);
this.closeFromPullDown(0);
}

Expand All @@ -216,6 +215,7 @@ export class FivGallery implements OnInit, AfterContentInit {
}
this.slidesLoaded = false;
this.overlay.hide();
this.willClose.emit(this.initialImage);
}

resetPan(progress: number) {
Expand Down

0 comments on commit 5600335

Please sign in to comment.