treat hierarchy same as rect
This commit is contained in:
parent
55b8bc89ab
commit
823f6dc82f
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ func (obj *Object) GetFill() string {
|
||||||
return color.N7
|
return color.N7
|
||||||
}
|
}
|
||||||
|
|
||||||
if shape == "" || strings.EqualFold(shape, d2target.ShapeSquare) || strings.EqualFold(shape, d2target.ShapeCircle) || strings.EqualFold(shape, d2target.ShapeOval) || strings.EqualFold(shape, d2target.ShapeRectangle) {
|
if shape == "" || strings.EqualFold(shape, d2target.ShapeSquare) || strings.EqualFold(shape, d2target.ShapeCircle) || strings.EqualFold(shape, d2target.ShapeOval) || strings.EqualFold(shape, d2target.ShapeRectangle) || strings.EqualFold(shape, d2target.ShapeHierarchy) {
|
||||||
if level == 1 {
|
if level == 1 {
|
||||||
if !obj.IsContainer() {
|
if !obj.IsContainer() {
|
||||||
return color.B6
|
return color.B6
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue