Skip to content

Commit

Permalink
Binge: Correct thumb image for progress slider
Browse files Browse the repository at this point in the history
  • Loading branch information
mathebox committed Jan 28, 2022
1 parent 030dd58 commit c0640f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Binge/BingeControlsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BingeControlsViewController: UIViewController {
let normalThumbImage = UIImage.bingeImage(named: "thumb-small")?.withAlignmentRectInsets(normalAlignmentRectInsets)
slider.setThumbImage(normalThumbImage, for: .normal)
let highlightedAlignmentRectInsets = UIEdgeInsets(top: 12.5, left: 12.5, bottom: 12.5, right: 12.5)
let highlightedThumbImage = UIImage.bingeImage(named: "thumb-small")?.withAlignmentRectInsets(highlightedAlignmentRectInsets)
let highlightedThumbImage = UIImage.bingeImage(named: "thumb-big")?.withAlignmentRectInsets(highlightedAlignmentRectInsets)
slider.setThumbImage(highlightedThumbImage, for: .highlighted)
slider.addTarget(self, action: #selector(changeProgress(sender:event:)), for: .valueChanged)

Expand Down

0 comments on commit c0640f4

Please sign in to comment.