Merge lp:~tapaal-contributor/tapaal/update-zoom-percentage-on-ctrl+scroll-1785023 into lp:tapaal

Proposed by Peter Haahr Taankvist on 2019-03-14
Status: Merged
Approved by: Jiri Srba on 2019-03-15
Approved revision: 994
Merged at revision: 996
Proposed branch: lp:~tapaal-contributor/tapaal/update-zoom-percentage-on-ctrl+scroll-1785023
Merge into: lp:tapaal
Diff against target: 11 lines (+1/-0)
1 file modified
src/pipe/gui/DrawingSurfaceImpl.java (+1/-0)
To merge this branch: bzr merge lp:~tapaal-contributor/tapaal/update-zoom-percentage-on-ctrl+scroll-1785023
Reviewer Review Type Date Requested Status
Jiri Srba 2019-03-14 Approve on 2019-03-15
Review via email: mp+364462@code.launchpad.net

Commit message

Updates the zoom percentage in the top panel correctly when zooming with ctrl + scroll

To post a comment you must log in.
Jiri Srba (srba) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/pipe/gui/DrawingSurfaceImpl.java'
2--- src/pipe/gui/DrawingSurfaceImpl.java 2019-01-27 12:49:43 +0000
3+++ src/pipe/gui/DrawingSurfaceImpl.java 2019-03-14 20:43:01 +0000
4@@ -624,6 +624,7 @@
5 } else {
6 view.zoomOut();
7 }
8+ CreateGui.getAppGui().updateZoomCombo();
9 } else {
10 //Dispatch Event to scroll pane to allow scrolling up/down. -- kyrke
11 getParent().dispatchEvent(e);

Subscribers

People subscribed via source and target branches