File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Assets/com.fluid.behavior-tree/Editor/BehaviorTree/Printer Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ private void PaintDivider () {
98
98
}
99
99
100
100
var position = new Rect (
101
- _divider . GlobalPositionX + _box . PaddingY / 2 + _node . DividerLeftOffset - 2 ,
102
- // @TODO Should not need to offset this
101
+ _divider . GlobalPositionX + _box . PaddingX / 2 + _node . DividerLeftOffset - 2 ,
103
102
_divider . GlobalPositionY + _box . PaddingY / 2 ,
104
103
_divider . Width + graphicSizeIncrease ,
105
- 10 ) ;
104
+ // @NOTE I have no clue why 3 works here...
105
+ 3 ) ;
106
106
107
107
GUI . Label ( position , _dividerGraphic ) ;
108
108
}
@@ -116,7 +116,7 @@ private void PaintVerticalBottom () {
116
116
_box . GlobalPositionX + _node . Width / 2 + _box . PaddingX - 2 ,
117
117
_box . GlobalPositionY + _node . Height + _box . PaddingY - 1 ,
118
118
100 ,
119
- _box . PaddingY - 1 ) ;
119
+ _box . PaddingY ) ;
120
120
121
121
GUI . Label ( position , _verticalBottom ) ;
122
122
}
@@ -130,7 +130,7 @@ private void PaintVerticalTop () {
130
130
_box . GlobalPositionX + _node . Width / 2 + _box . PaddingX - 2 ,
131
131
_box . GlobalPositionY + _box . PaddingY / 2 ,
132
132
100 ,
133
- 10 ) ;
133
+ _box . PaddingY / 2 ) ;
134
134
135
135
GUI . Label ( position , _verticalTop ) ;
136
136
}
You can’t perform that action at this time.
0 commit comments