Skip to content

Commit

Permalink
Merge pull request #289 from yujinakayama/fix-triggerScrollStart
Browse files Browse the repository at this point in the history
Fix triggerScrollStart() so that it can properly ignore prevention conditions
  • Loading branch information
cbpowell authored Jul 18, 2023
2 parents 9809251 + bfab54b commit eb89273
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 eb89273

Please sign in to comment.