summaryrefslogtreecommitdiff
path: root/library/src/compute/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/compute/construct.rs')
-rw-r--r--library/src/compute/construct.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/src/compute/construct.rs b/library/src/compute/construct.rs
index 1c5775e5..d39b69dd 100644
--- a/library/src/compute/construct.rs
+++ b/library/src/compute/construct.rs
@@ -135,23 +135,18 @@ pub fn rgb(
/// ]
/// ```
#[external]
- #[default]
hex: EcoString,
/// The red component.
#[external]
- #[default]
red: Component,
/// The green component.
#[external]
- #[default]
green: Component,
/// The blue component.
#[external]
- #[default]
blue: Component,
/// The alpha component.
#[external]
- #[default]
alpha: Component,
) -> Value {
Value::Color(if let Some(string) = args.find::<Spanned<EcoString>>()? {