Skip to content

Commit

Permalink
there should never be a delay when notice is dismissed interactively.…
Browse files Browse the repository at this point in the history
… Fixed the case where you wanted to dismiss a non sticky notice interactively
  • Loading branch information
troelsrichter committed Jan 3, 2013
1 parent b481207 commit bb47295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NoticeView/WBNoticeView/WBNoticeView.m
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ - (void)dismissNoticeInteractively
// Clear the reference to the dismissal block so that the animation does invoke the block a second time
self.dismissalBlock = nil;
}
[self dismissNoticeWithDuration:self.duration delay:self.delay hiddenYOrigin:self.hiddenYOrigin];
[self dismissNoticeWithDuration:self.duration delay:0 hiddenYOrigin:self.hiddenYOrigin];
}

- (void)dismissAfterTimerExpiration
Expand Down

0 comments on commit bb47295

Please sign in to comment.