Skip to content

Commit dfaa5c6

Browse files
committed
Title: redraw on forced update
This fixes an issue where the title would vanish from the screen if it was being displayed when changing videos in a playlist.
1 parent 67683dc commit dfaa5c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Title.moon

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Title extends UIElement
3737
'playlist-pos-1': mp.get_property_number 'playlist-pos-1', 1
3838
'playlist-count': mp.get_property_number 'playlist-count', 1
3939
}
40+
@needsUpdate = true
4041

4142
generateTitleString: (quote=false) =>
4243
{'media-title': title, 'playlist-pos-1': position, 'playlist-count': total} = @playlistInfo

0 commit comments

Comments
 (0)