mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 01:01:46 +03:00
Fix typo
This commit is contained in:
parent
1a7a5ee1d6
commit
039ffbd37a
@ -891,7 +891,7 @@
|
||||
let position;
|
||||
|
||||
if (!tiledImage.isTainted()) {
|
||||
if((data instanceof CanvasRenderingContext2D) && $.isCanvasTainted(data)){
|
||||
if((data instanceof CanvasRenderingContext2D) && $.isCanvasTainted(data.canvas)){
|
||||
tiledImage.setTainted(true);
|
||||
$.console.warn('WebGL cannot be used to draw this TiledImage because it has tainted data. Does crossOriginPolicy need to be set?');
|
||||
this._raiseDrawerErrorEvent(tiledImage, 'Tainted data cannot be used by the WebGLDrawer. Falling back to CanvasDrawer for this TiledImage.');
|
||||
|
Loading…
x
Reference in New Issue
Block a user