mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-26 07:06:10 +03:00
Fixed broken viewer.raiseEvent calls in drawer.js
This commit is contained in:
parent
893c43244f
commit
c6f8b5e192
@ -228,8 +228,7 @@ $.Drawer.prototype = {
|
|||||||
}
|
}
|
||||||
if( this.viewer ){
|
if( this.viewer ){
|
||||||
this.viewer.raiseEvent( 'clear-overlay', {
|
this.viewer.raiseEvent( 'clear-overlay', {
|
||||||
viewer: this.viewer,
|
viewer: this.viewer
|
||||||
element: element
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@ -583,8 +582,8 @@ function updateLevel( drawer, haveDrawn, level, levelOpacity, levelVisibility, v
|
|||||||
level: level,
|
level: level,
|
||||||
opacity: levelOpacity,
|
opacity: levelOpacity,
|
||||||
visibility: levelVisibility,
|
visibility: levelVisibility,
|
||||||
topleft: viewportTopLeft,
|
topleft: viewportTL,
|
||||||
bottomright: viewportBottomRight,
|
bottomright: viewportBR,
|
||||||
currenttime: currentTime,
|
currenttime: currentTime,
|
||||||
best: best
|
best: best
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user