Add 'self' to mouse function
This commit is contained in:
parent
3036f64b68
commit
f6d1269531
1 changed files with 1 additions and 1 deletions
2
mpv.py
2
mpv.py
|
|
@ -1448,7 +1448,7 @@ class MPV(object):
|
||||||
"""Mapped mpv discnav command, see man mpv(1)."""
|
"""Mapped mpv discnav command, see man mpv(1)."""
|
||||||
self.command('discnav', command)
|
self.command('discnav', command)
|
||||||
|
|
||||||
def mouse(x, y, button=None, mode='single'):
|
def mouse(self, x, y, button=None, mode='single'):
|
||||||
"""Mapped mpv mouse command, see man mpv(1)."""
|
"""Mapped mpv mouse command, see man mpv(1)."""
|
||||||
if button is None:
|
if button is None:
|
||||||
self.command('mouse', x, y, mode)
|
self.command('mouse', x, y, mode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue