From 2bc695643d9cbbdafc3346af132e5ef8fcefc069 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 25 May 2020 15:42:24 +0200 Subject: [PATCH] Fix the type of color --- sixtyfps_compiler/typeregister.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixtyfps_compiler/typeregister.rs b/sixtyfps_compiler/typeregister.rs index ee8b836a8..0194ce8f9 100644 --- a/sixtyfps_compiler/typeregister.rs +++ b/sixtyfps_compiler/typeregister.rs @@ -72,7 +72,7 @@ impl TypeRegister { r.types.insert("float32".into(), Type::Float32); r.types.insert("int32".into(), Type::Int32); r.types.insert("string".into(), Type::String); - r.types.insert("color".into(), Type::String); + r.types.insert("color".into(), Type::Color); r.types.insert("image".into(), Type::Image); r.types.insert("bool".into(), Type::Bool);