mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-01 21:06:12 +03:00
removed null method Drawer.prototype.idle
This commit is contained in:
parent
8ba072a1a9
commit
d145c129a0
3 changed files with 2 additions and 12 deletions
|
@ -2052,9 +2052,7 @@ function updateOnce( viewer ) {
|
|||
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
|
||||
viewer.drawer.update();
|
||||
viewer._forceRedraw = false;
|
||||
} else {
|
||||
viewer.drawer.idle();
|
||||
}
|
||||
}
|
||||
|
||||
if ( viewer._animating && !animated ) {
|
||||
viewer.raiseEvent( "animationfinish" );
|
||||
|
@ -3902,9 +3900,6 @@ $.Drawer.prototype = {
|
|||
this._profiler.endUpdate();
|
||||
},
|
||||
|
||||
idle: function() {
|
||||
},
|
||||
|
||||
loadImage: function(src, callback) {
|
||||
var _this = this,
|
||||
loading = false,
|
||||
|
|
|
@ -583,9 +583,6 @@ $.Drawer.prototype = {
|
|||
this._profiler.endUpdate();
|
||||
},
|
||||
|
||||
idle: function() {
|
||||
},
|
||||
|
||||
loadImage: function(src, callback) {
|
||||
var _this = this,
|
||||
loading = false,
|
||||
|
|
|
@ -778,9 +778,7 @@ function updateOnce( viewer ) {
|
|||
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
|
||||
viewer.drawer.update();
|
||||
viewer._forceRedraw = false;
|
||||
} else {
|
||||
viewer.drawer.idle();
|
||||
}
|
||||
}
|
||||
|
||||
if ( viewer._animating && !animated ) {
|
||||
viewer.raiseEvent( "animationfinish" );
|
||||
|
|
Loading…
Add table
Reference in a new issue