summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
authorHarri Nieminen <moiman@posteo.net>2023-03-27 23:42:17 +0300
committerDudemanguy <random342@airmail.cc>2023-03-28 19:29:44 +0000
commit292a5868cb60c481ae9eaed7d21e67dcff41938f (patch)
treec5a87dee26e517c485bec6a8f4cad9271d25adf4 /player/lua/osc.lua
parent24bed9b94991d060024dedeb05718d15d95fa77d (diff)
downloadmpv-292a5868cb60c481ae9eaed7d21e67dcff41938f.tar.bz2
mpv-292a5868cb60c481ae9eaed7d21e67dcff41938f.tar.xz
various: fix typos
Found by codespell
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r--player/lua/osc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 28688e2bdd..bf3992faa9 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -452,7 +452,7 @@ local elements = {}
function prepare_elements()
- -- remove elements without layout or invisble
+ -- remove elements without layout or invisible
local elements2 = {}
for n, element in pairs(elements) do
if not (element.layout == nil) and (element.visible) then
@@ -2325,7 +2325,7 @@ function render()
-- init management
if state.active_element then
- -- mouse is held down on some element - keep ticking and igore initReq
+ -- mouse is held down on some element - keep ticking and ignore initReq
-- till it's released, or else the mouse-up (click) will misbehave or
-- get ignored. that's because osc_init() recreates the osc elements,
-- but mouse handling depends on the elements staying unmodified