Skip to content
Permalink
Browse files

Clear playlist play progress on cell reuse

  • Loading branch information...
HarukaMa committed Jun 6, 2019
1 parent 2f145f0 commit 3bc523e2df58c94a88432f0c0c53b597d7c0c4e4
Showing with 5 additions and 0 deletions.
  1. +5 −0 iina/PlaylistViewController.swift
@@ -741,6 +741,11 @@ class PlaylistTrackCellView: NSTableCellView {
@IBOutlet weak var durationLabel: NSTextField!
@IBOutlet weak var playbackProgressView: PlaylistPlaybackProgressView!

override func prepareForReuse() {
playbackProgressView.percentage = 0
playbackProgressView.needsDisplay = true
}

}


0 comments on commit 3bc523e

Please sign in to comment.
You can’t perform that action at this time.