Skip to content

Commit 2cc3816

Browse files
Ignore comments so they don't show up in documentation
1 parent 7d20ed7 commit 2cc3816

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/helpers/zoom.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export function fitToPage() {
8080
* 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%).
8181
* 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.
8282
* But as we store the step history we do 1.65 - 0.25 (value from step history) and end up to 1.4 (140%).
83+
* @ignore
8384
*/
8485
export function zoomIn() {
8586
const currentZoomFactor = core.getZoom();
@@ -110,6 +111,7 @@ export function zoomIn() {
110111

111112
/**
112113
* See functionality from zoomIn. zoomOut works same but opposite direction.
114+
* @ignore
113115
*/
114116
export function zoomOut() {
115117
const currentZoomFactor = core.getZoom();

0 commit comments

Comments
 (0)