[modules/scroll] edge case error
This commit is contained in:
parent
3f97ea6a39
commit
c40f59f7be
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Module(core.module.Module):
|
|||
if widget.id == self.widgets()[0].id:
|
||||
if self.__offset == 0:
|
||||
return ["warning"]
|
||||
if self.__offset + self.__width >= self.__widgetcount:
|
||||
elif self.__offset + self.__width >= self.__widgetcount:
|
||||
return ["warning"]
|
||||
return []
|
||||
|
||||
|
|
Loading…
Reference in a new issue