Skip to content

Commit

Permalink
Ignore comments so they don't show up in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mparizeau-pdftron committed Jul 24, 2020
1 parent 7d20ed7 commit 2cc3816
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/helpers/zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export function fitToPage() {
* Consider case where we start from zoom level 140% (1.4) and zoomIn. We would end up to 1.4 + 0.25 = 1.65 (165%).
* If user would now click zoomOut, we would end up 1.65 - 0.5 = 1.15 (115%) which is not the same 140% where we started.
* But as we store the step history we do 1.65 - 0.25 (value from step history) and end up to 1.4 (140%).
* @ignore
*/
export function zoomIn() {
const currentZoomFactor = core.getZoom();
Expand Down Expand Up @@ -110,6 +111,7 @@ export function zoomIn() {

/**
* See functionality from zoomIn. zoomOut works same but opposite direction.
* @ignore
*/
export function zoomOut() {
const currentZoomFactor = core.getZoom();
Expand Down

0 comments on commit 2cc3816

Please sign in to comment.