mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
merging remote
This commit is contained in:
commit
8fe6a5f6e6
@ -397,8 +397,6 @@ export class ThreeJSDrawer extends OpenSeadragon.DrawerBase{
|
||||
_updateMeshIfNeeded(tiledImage){
|
||||
let tileContainer = this._tiledImageMap[tiledImage[this._uuid]].userData.tileContainer;
|
||||
let scene = this._tiledImageMap[tiledImage[this._uuid]]
|
||||
// let levelsInterval = tiledImage._getLevelsInterval();
|
||||
// let level = levelsInterval.highestLevel;
|
||||
let level = Math.max(...tiledImage.getTilesToDraw().map(tile => tile.level));
|
||||
|
||||
if(scene.userData.currentLevel === level){
|
||||
|
Loading…
Reference in New Issue
Block a user