PEP 8 (I'm bored): core/modules
This commit is contained in:
parent
8db7b1d160
commit
b2b34ad81a
@ -27,9 +27,9 @@ class Module(SettingsBase):
|
||||
self.on_leftclick()
|
||||
elif button == 3: # Right mouse button
|
||||
self.on_rightclick()
|
||||
elif button == 4: # mouse wheel up
|
||||
elif button == 4: # mouse wheel up
|
||||
self.on_upscroll()
|
||||
elif button == 5: # mouse wheel down
|
||||
elif button == 5: # mouse wheel down
|
||||
self.on_downscroll()
|
||||
|
||||
def move(self, position):
|
||||
@ -48,6 +48,7 @@ class Module(SettingsBase):
|
||||
def on_downscroll(self):
|
||||
pass
|
||||
|
||||
|
||||
class IntervalModuleMeta(type):
|
||||
"""Add interval setting to `settings` attribute if it does not exist."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user