mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 22:03:31 +03:00
Clean up
This commit is contained in:
parent
6ceac75b7a
commit
5c60f669ec
1 changed files with 2 additions and 2 deletions
|
@ -1699,8 +1699,8 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||
|
||||
var flippedX;
|
||||
if (this.getFlip()) {
|
||||
var xMod1 = ( numberOfTiles.x + ( x % numberOfTiles.x ) ) % numberOfTiles.x;
|
||||
flippedX = x + numberOfTiles.x - xMod1 - xMod1 - 1;
|
||||
var xMod = ( numberOfTiles.x + ( x % numberOfTiles.x ) ) % numberOfTiles.x;
|
||||
flippedX = x + numberOfTiles.x - xMod - xMod - 1;
|
||||
} else {
|
||||
flippedX = x;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue