playlist: update: reorder conditions
This commit is contained in:
@@ -99,8 +99,8 @@ std::wstring Playlist::title()
|
|||||||
|
|
||||||
void Playlist::update()
|
void Playlist::update()
|
||||||
{
|
{
|
||||||
if (Config.playlist_disable_highlight_delay.time_duration::seconds() > 0
|
if (w.isHighlighted()
|
||||||
&& w.isHighlighted()
|
&& Config.playlist_disable_highlight_delay.time_duration::seconds() > 0
|
||||||
&& Global::Timer - itsTimer > Config.playlist_disable_highlight_delay)
|
&& Global::Timer - itsTimer > Config.playlist_disable_highlight_delay)
|
||||||
{
|
{
|
||||||
w.setHighlighting(false);
|
w.setHighlighting(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user