File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 */
8485export 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 */
114116export function zoomOut ( ) {
115117 const currentZoomFactor = core . getZoom ( ) ;
You can’t perform that action at this time.
0 commit comments