From 4e5084bdbad91d95d34dd7e57cd6e563a59ea0fc Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Fri, 10 Jun 2022 10:29:12 +0200 Subject: [PATCH] :wrench: Use correct duration --- kwin/main.js.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kwin/main.js.in b/kwin/main.js.in index f954693..13452bc 100755 --- a/kwin/main.js.in +++ b/kwin/main.js.in @@ -111,8 +111,8 @@ class %EFFECT_CLASS% { type: Effect.ShaderUniform, fragmentShader: this.shader, uniform: "uDuration", - from: this.duration, - to: this.duration + from: this.duration * 0.001, + to: this.duration * 0.001 } ] }); @@ -152,8 +152,8 @@ class %EFFECT_CLASS% { type: Effect.ShaderUniform, fragmentShader: this.shader, uniform: "uDuration", - from: this.duration, - to: this.duration + from: this.duration * 0.001, + to: this.duration * 0.001 } ] });