From 33f319ddf87ba05b00447eeb5bc025db3690cde3 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 24 Mar 2021 12:38:13 +0100 Subject: [PATCH] opacity has defined min/max and decimals --- .../schemas/schema_global_publish.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json b/pype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json index 4045870a9a..92abe7064e 100644 --- a/pype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json +++ b/pype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json @@ -208,17 +208,24 @@ { "type": "number", "key": "font_size", - "label": "Font size" + "label": "Font size", + "minimum": 0 }, { "type": "number", "key": "opacity", - "label": "Font opacity" + "label": "Font opacity", + "decimal": 2, + "maximum": 1, + "minimum": 0 }, { "type": "number", "key": "bg_opacity", - "label": "Background opacity" + "label": "Background opacity", + "decimal": 2, + "maximum": 1, + "minimum": 0 }, { "type": "number",