SkyTemple/skytemple

Preview of Dungeon Layouts Zoom Overflow

Jawshoeuh opened this issue · 0 comments

The ability to zoom for the dungeon preview doesn't seem to have a maximum or minimum. Allowing users to zoom in or out until it overflows or generally breaks.

(Error From Continually Zooming In)

OverflowError: 2657511014 not in range -2147483648 to 2147483647
      add_note = <built-in method add_note of OverflowError object>
      args = ('2657511014 not in range -2147483648 to 2147483647',)
      with_traceback = <built-in method with_traceback of OverflowError object>

(Error From Continually Zooming Out)

 cairo.MemoryError: out of memory
      add_note = <built-in method add_note of cairo.MemoryError object>
      args = ('out of memory', cairo.Status.NO_MEMORY)
      status = cairo.Status.NO_MEMORY
      with_traceback = <built-in method with_traceback of cairo.MemoryError object>