Browse Source
Keystroke zoom (F1/F2) always centered the screen, because it was handled as ID_POPUP_ZOOM_IN event. Mousewheel scrolling was ok, because it is handled using different event based on the configuration. This patch introduces special event ids for keystroke zooming that are then properly translated to either ID_POPUP_ZOOM_IN or ID_OFFCENTER_ZOOM_IN depending on the configuration. The same issue is fixed for legacy canvas pcbnew. Fixes: lp:1742567 * https://bugs.launchpad.net/kicad/+bug/1742567 Signed-off-by: Martin Sivak <mars@montik.net>pull/5/merge
committed by
Wayne Stambaugh
10 changed files with 31 additions and 20 deletions
Loading…
Reference in new issue