From eb597cffbe6cddcaf970033ee6b2720d6b3785df Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sun, 15 May 2022 14:17:25 +0200 Subject: [PATCH] :wrench: Fix test time --- extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension.js b/extension.js index c095b10..b61f168 100644 --- a/extension.js +++ b/extension.js @@ -494,7 +494,7 @@ class Extension { // Set other uniforms each frame. transition.connect('new-frame', (t) => { if (testMode) { - shader.updateAnimation(0.5, duration / 2); + shader.updateAnimation(0.5, 0.001 * duration * 0.5); } else { shader.updateAnimation(t.get_progress(), 0.001 * t.get_elapsed_time()); }