Skip to content

Commit

Permalink
Fix triggerScrollStart() so that it can properly ignore prevention co…
Browse files Browse the repository at this point in the history
…nditions
  • Loading branch information
yujinakayama committed Jul 14, 2023
1 parent 9809251 commit bfab54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MarqueeLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ open class MarqueeLabel: UILabel, CAAnimationDelegate {
*/
public func triggerScrollStart() {
if labelShouldScroll() && !awayFromHome {
updateAndScroll()
updateAndScroll(overrideHold: true)
}
}

Expand Down

0 comments on commit bfab54b

Please sign in to comment.