From ff219a184998ce4e3d3381477ba3224c8cd49709 Mon Sep 17 00:00:00 2001 From: Tomasz Lukawski Date: Thu, 31 Oct 2019 08:48:59 +0100 Subject: [PATCH] Util: _loop method provides loop Time for current animation frame [Issue] N/A [Problem] Progress bar is not animating on value change [Solution] Animation callback in the progress bar expects time as argument but not given. The "_loop" method in tau.util has been changed. Signed-off-by: Tomasz Lukawski --- src/js/core/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/core/util.js b/src/js/core/util.js index d44964c1a5..7104fa421b 100644 --- a/src/js/core/util.js +++ b/src/js/core/util.js @@ -72,7 +72,7 @@ waitingFrames = []; while (currentFrameFunction) { - currentFrameFunction(); + currentFrameFunction(loopTime); if (performance.now() - loopTime < 15) { currentFrameFunction = loopWaitingFrames.shift(); } else {