mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 15:12:07 +03:00
removed null method Drawer.prototype.idle
This commit is contained in:
parent
8ba072a1a9
commit
d145c129a0
@ -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…
x
Reference in New Issue
Block a user