mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Comments on functions
This commit is contained in:
parent
7e5c9e1897
commit
6e2c1258df
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user