diff options
author | sdaqo <sdaqo.dev@protonmail.com> | 2023-05-01 15:03:10 +0200 |
---|---|---|
committer | jaseg <136313+jaseg@users.noreply.github.com> | 2023-06-03 18:31:40 +0200 |
commit | f6d1269531de44f8f92fa0b03a92d82089f266ce (patch) | |
tree | 8eb6cbd05c772ec3c37cc41d1b01e55a648dacfe | |
parent | 3036f64b68207d74a06efcfbc2fdac91a6a70bbc (diff) | |
download | python-mpv-f6d1269531de44f8f92fa0b03a92d82089f266ce.tar.gz python-mpv-f6d1269531de44f8f92fa0b03a92d82089f266ce.tar.bz2 python-mpv-f6d1269531de44f8f92fa0b03a92d82089f266ce.zip |
Add 'self' to mouse function
-rw-r--r-- | mpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1448,7 +1448,7 @@ class MPV(object): """Mapped mpv discnav command, see man mpv(1).""" 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).""" if button is None: self.command('mouse', x, y, mode) |