[modules/shell] do not default to "makewide"
to avoid unnecessarily wide shell modules, set "makewide" to false, if it is not set at all. fixes #775
This commit is contained in:
parent
65da1e2246
commit
4187bddad6
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ class Module(core.module.Module):
|
|||
self.__output = "please wait..."
|
||||
self.__current_thread = threading.Thread()
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue