UseAfterFreee / mandelbrot

0 stars 1 forks source link

Zoombox should be bounded both a lower and upper bound to prevent weird issues #3

Open UseAfterFreee opened 5 years ago

UseAfterFreee commented 5 years ago

You can keep decreasing the size which will create a zoombox with negative width and height. This messes up calculations. also zooming out (i.e. creating a zoombox bigger than the window, currently has undefined behaviour). This can be fixed in the event_handler.cpp file in the EventHandler::handleEvents() function.