mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +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() ) {
|
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
|
||||||
viewer.drawer.update();
|
viewer.drawer.update();
|
||||||
viewer._forceRedraw = false;
|
viewer._forceRedraw = false;
|
||||||
} else {
|
}
|
||||||
viewer.drawer.idle();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( viewer._animating && !animated ) {
|
if ( viewer._animating && !animated ) {
|
||||||
viewer.raiseEvent( "animationfinish" );
|
viewer.raiseEvent( "animationfinish" );
|
||||||
@ -3902,9 +3900,6 @@ $.Drawer.prototype = {
|
|||||||
this._profiler.endUpdate();
|
this._profiler.endUpdate();
|
||||||
},
|
},
|
||||||
|
|
||||||
idle: function() {
|
|
||||||
},
|
|
||||||
|
|
||||||
loadImage: function(src, callback) {
|
loadImage: function(src, callback) {
|
||||||
var _this = this,
|
var _this = this,
|
||||||
loading = false,
|
loading = false,
|
||||||
|
@ -583,9 +583,6 @@ $.Drawer.prototype = {
|
|||||||
this._profiler.endUpdate();
|
this._profiler.endUpdate();
|
||||||
},
|
},
|
||||||
|
|
||||||
idle: function() {
|
|
||||||
},
|
|
||||||
|
|
||||||
loadImage: function(src, callback) {
|
loadImage: function(src, callback) {
|
||||||
var _this = this,
|
var _this = this,
|
||||||
loading = false,
|
loading = false,
|
||||||
|
@ -778,9 +778,7 @@ function updateOnce( viewer ) {
|
|||||||
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
|
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
|
||||||
viewer.drawer.update();
|
viewer.drawer.update();
|
||||||
viewer._forceRedraw = false;
|
viewer._forceRedraw = false;
|
||||||
} else {
|
}
|
||||||
viewer.drawer.idle();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( viewer._animating && !animated ) {
|
if ( viewer._animating && !animated ) {
|
||||||
viewer.raiseEvent( "animationfinish" );
|
viewer.raiseEvent( "animationfinish" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user