Author Topic: [Fixed][Bug][Editor] Mouse zooming outside bottom/right boundary causes error  (Read 1196 times)

0 Members and 1 Guest are viewing this topic.

Offline IchoTolot

  • Global Moderator
  • Posts: 3612
    • View Profile
Reproducing:

- Open the editor.

- Try to mousewheel zoom by while the mouse itself is outside the level boundaries on the bottom or right side (left and top outside boundaries seem to be ok).
   Note: This has to be the first mousewheel zoom you do since opening the editor. When you had 1 successful zoom before, the error doesn't occur anymore.

- Get a nice error message that implies the program tried to devide by zero. All future zooms will cause the same error now.
« Last Edit: July 16, 2018, 07:46:34 PM by Nepster »

Offline Nepster

  • Posts: 1829
    • View Profile
Weirdly enough, this is exactly the same debugging statement that cause the exception on changing the level size.