Skip to content

Commit

Permalink
refactor(Tree): upgrade deprecated label.normal option
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed Jun 16, 2022
1 parent 9e71a14 commit b4b6279
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,20 +610,16 @@ const createOptions = {
borderWidth: 2
},
label: {
normal: {
position: 'left',
verticalAlign: 'middle',
align: 'right'
}
position: 'left',
verticalAlign: 'middle',
align: 'right'
},

leaves: {
label: {
normal: {
position: 'right',
verticalAlign: 'middle',
align: 'left'
}
position: 'right',
verticalAlign: 'middle',
align: 'left'
}
}
},
Expand Down

0 comments on commit b4b6279

Please sign in to comment.