mirror of
https://github.com/RGBCube/serenity
synced 2025-10-27 07:02:33 +00:00
ImageViewer window kept growing while zooming in, which causes out of memory error and crashes the application. Now, only the image content is rescaled and the window size is preserved. We also open the display window as the same size as the image, which may cause a similar issue for very large image files. This is prevented by limiting the maximum window size to be the screen size. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| main.cpp | ||
| ViewWidget.cpp | ||
| ViewWidget.h | ||