From 77310b0229b2853b835c8c872d14f841735b1d78 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Sun, 23 Oct 2016 18:25:14 +0200 Subject: [PATCH] Remove TODO --- src/tiledimage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index 3eb9fafa..0d155325 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -959,7 +959,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag var targetRenderPixelRatio = viewport.deltaPixelsFromPointsNoRotate( this.source.getPixelRatio(level), false - ).x * this._scaleSpring.current.value; //TODO: shouldn't that be target.value? + ).x * this._scaleSpring.current.value; var targetZeroRatio = viewport.deltaPixelsFromPointsNoRotate( this.source.getPixelRatio( @@ -969,7 +969,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag ) ), false - ).x * this._scaleSpring.current.value; //TODO: shouldn't that be target.value? + ).x * this._scaleSpring.current.value; var optimalRatio = this.immediateRender ? 1 : targetZeroRatio; var levelOpacity = Math.min(1, (currentRenderPixelRatio - 0.5) / 0.5);