From 028bb0edc7278340d7d405edaff3f0de14e8370f Mon Sep 17 00:00:00 2001 From: Alice <166900055+alicesaidhi@users.noreply.github.com> Date: Sun, 28 Sep 2025 17:58:10 +0200 Subject: [PATCH] fix colors --- src/anim/spring/spring_file.luau | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/anim/spring/spring_file.luau b/src/anim/spring/spring_file.luau index b5a6acf..68a0363 100644 --- a/src/anim/spring/spring_file.luau +++ b/src/anim/spring/spring_file.luau @@ -42,11 +42,7 @@ local active_springs: { [SpringState]: graph.SourceNode } = local function pack_type(value: AnimatableDataType): (AnimatableDataTypeEnum, { number }) if typeof(value) == "Color3" then -- oklab conversion - local intermediate_vector = vector.clamp( - oklab.from_srgb(vector.create(value.R, value.G, value.B)), - vector.zero, - vector.one - ) + local intermediate_vector = oklab.from_srgb(vector.create(value.R, value.G, value.B)) return "color", {