Gerbview: Zoom do not work
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template markers <>. * Keep report contents limited to the necessary information required to fix the issue. ---------Add your issue details below----------- --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> Only 'Zoom to fit' works. ![a3](/uploads/e24d5d032d622f8dc96c5e4dc96d1c17/a3.png) 'Zoom in' shows smaller image. ![a4](/uploads/e2b0a9b9fc25557605680ac7d0df47ab/a4.png) Gerbview from version 5.1.6 works correctly.\ Git bisect showed commit 284d5861dd6da35373cefffe84c372bceb15b818 \ Reverting this commit resolved the issue. # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> 1. Open gerber file. Eg. [lampC-LV-F_SilkS.gbr](/uploads/231f20fa116be57282eee9d96bd13ac0/lampC-LV-F_SilkS.gbr) 2. Press 'Zoom in' # KiCad Version ``` Application: GerbView Version: (5.1.8-8-g6223e7475), release build Libraries: wxWidgets 3.0.5 libcurl/7.73.0 OpenSSL/1.1.1h zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 c-ares/1.16.1 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0 librtmp/2.3 Platform: Linux 5.8.9 x86_64, 64 bit, Little endian, wxGTK Build Info: wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24 Boost: 1.73.0 OpenCASCADE Community Edition: 6.9.1 Curl: 7.73.0 Compiler: GCC 10.2.0 with C++ ABI 1014 Build settings: USE_WX_GRAPHICS_CONTEXT=OFF USE_WX_OVERLAY=OFF KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON BUILD_GITHUB_PLUGIN=ON KICAD_USE_OCE=ON KICAD_USE_OCC=OFF KICAD_SPICE=ON ```
issue