[modules/shell] remove obsolete event handlers

modules are now automatically updated when clicked.

fixes #776
This commit is contained in:
tobi-wan-kenobi 2021-03-18 15:30:03 +01:00
parent 4187bddad6
commit e560649531

View file

@ -50,10 +50,6 @@ class Module(core.module.Module):
if self.parameter("scrolling.makewide") is None:
self.set("scrolling.makewide", False)
# LMB and RMB will update output regardless of timer
core.input.register(self, button=core.input.LEFT_MOUSE, cmd=self.update)
core.input.register(self, button=core.input.RIGHT_MOUSE, cmd=self.update)
def set_output(self, value):
self.__output = value