Skip to content

Commit 3a6fc9c

Browse files
committed
Set indentation min to -(min itemwidth / 2)
1 parent a3263f1 commit 3a6fc9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/legend/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = {
107107
},
108108
indentation: {
109109
valType: 'number',
110-
min: 0,
110+
min: -15,
111111
dflt: 0,
112112
editType: 'legend',
113113
description: 'Sets the indentation (in px) of the legend entries.',

test/plot-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2852,7 +2852,7 @@
28522852
"description": "Sets the indentation (in px) of the legend entries.",
28532853
"dflt": 0,
28542854
"editType": "legend",
2855-
"min": 0,
2855+
"min": -15,
28562856
"valType": "number"
28572857
},
28582858
"itemclick": {

0 commit comments

Comments
 (0)