zoom with mouse wheel is not working

Issue #66 closed
Andrey Skvortsov created an issue
Traceback (most recent call last):
  File "/home/developer/WorkData/PLC/beremiz/beremiz/editors/Viewer.py", line 3675, in OnMouseWheelWindow
    self.SetScale(self.CurrentScale + rotation, mouse_event=event)
  File "/home/developer/WorkData/PLC/beremiz/beremiz/editors/Viewer.py", line 859, in SetScale
    self.ViewScale = (ZOOM_FACTORS[self.CurrentScale], ZOOM_FACTORS[self.CurrentScale])
TypeError: list indices must be integers, not float

Comments (3)

  1. Log in to comment