Skip to content

Commit

Permalink
Merge pull request #2 from lostthing/lostthing-patch-ux
Browse files Browse the repository at this point in the history
fix pauseplay button icon update
  • Loading branch information
cyl0 authored Dec 28, 2021
2 parents b4b1399 + 8cd17a3 commit 606e98b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mordenx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,7 @@ end

function pause_state(name, enabled)
state.paused = enabled
mp.add_timeout(0.1, function() state.osd:update() end)
if user_opts.showonpause then
if enabled then
state.lastvisibility = user_opts.visibility
Expand Down

0 comments on commit 606e98b

Please sign in to comment.