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() {
80
80
* 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%).
81
81
* 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.
82
82
* 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
83
84
*/
84
85
export function zoomIn ( ) {
85
86
const currentZoomFactor = core . getZoom ( ) ;
@@ -110,6 +111,7 @@ export function zoomIn() {
110
111
111
112
/**
112
113
* See functionality from zoomIn. zoomOut works same but opposite direction.
114
+ * @ignore
113
115
*/
114
116
export function zoomOut ( ) {
115
117
const currentZoomFactor = core . getZoom ( ) ;
You can’t perform that action at this time.
0 commit comments