opacity has defined min/max and decimals

This commit is contained in:
iLLiCiTiT 2021-03-24 12:38:13 +01:00
parent 8fae7bf634
commit 33f319ddf8

View file

@ -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",