From 6e2c1258df4045365d8e6cca17eb16830aab5e4e Mon Sep 17 00:00:00 2001 From: Nelson Campos Date: Tue, 10 Apr 2018 12:04:58 +0100 Subject: [PATCH] Comments on functions --- src/viewer.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 8cdd6fd7..49d972db 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -3520,7 +3520,7 @@ function onRotateRight() { } /** - * Note: When pressed f on keyboard or flip control button + * Note: When pressed f on keyboard */ function onFlip( viewer ){ viewer.viewport.flipped = !viewer.viewport.flipped; @@ -3532,12 +3532,13 @@ function onFlip( viewer ){ viewer.forceRedraw(); } +/** + * Note: When pressed flip control button + */ function onButtonFlip() { onFlip(this); } - - function onPrevious(){ var previous = this._sequenceIndex - 1; if(this.navPrevNextWrap && previous < 0){