mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +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 ){
|
||||
this.viewer.raiseEvent( 'clear-overlay', {
|
||||
viewer: this.viewer,
|
||||
element: element
|
||||
viewer: this.viewer
|
||||
});
|
||||
}
|
||||
return this;
|
||||
@ -583,8 +582,8 @@ function updateLevel( drawer, haveDrawn, level, levelOpacity, levelVisibility, v
|
||||
level: level,
|
||||
opacity: levelOpacity,
|
||||
visibility: levelVisibility,
|
||||
topleft: viewportTopLeft,
|
||||
bottomright: viewportBottomRight,
|
||||
topleft: viewportTL,
|
||||
bottomright: viewportBR,
|
||||
currenttime: currentTime,
|
||||
best: best
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user