mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +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 ){
|
function onFlip( viewer ){
|
||||||
viewer.viewport.flipped = !viewer.viewport.flipped;
|
viewer.viewport.flipped = !viewer.viewport.flipped;
|
||||||
@ -3532,12 +3532,13 @@ function onFlip( viewer ){
|
|||||||
viewer.forceRedraw();
|
viewer.forceRedraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Note: When pressed flip control button
|
||||||
|
*/
|
||||||
function onButtonFlip() {
|
function onButtonFlip() {
|
||||||
onFlip(this);
|
onFlip(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function onPrevious(){
|
function onPrevious(){
|
||||||
var previous = this._sequenceIndex - 1;
|
var previous = this._sequenceIndex - 1;
|
||||||
if(this.navPrevNextWrap && previous < 0){
|
if(this.navPrevNextWrap && previous < 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user