Skip to content

Commit

Permalink
Merge pull request #247 from FreeTheTech101/fix/paused_osc_state
Browse files Browse the repository at this point in the history
fix: respect OSC visibility over paused visibility
  • Loading branch information
Samillion authored Nov 23, 2024
2 parents 134e077 + 78ce68f commit 672ff0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modernz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3378,7 +3378,7 @@ end

mp.observe_property("pause", "bool", function(name, enabled)
pause_state(name, enabled)
if user_opts.showonpause then
if user_opts.showonpause and user_opts.visibility ~= "never" then
if enabled then
-- save mode if a temporary change is needed
if not state.temp_visibility_mode and user_opts.visibility ~= "always" then
Expand Down

0 comments on commit 672ff0d

Please sign in to comment.