feedback
This commit is contained in:
parent
62c7fcd7ed
commit
85bd786dd0
|
@ -235,12 +235,12 @@ proc typeset*(
|
|||
of haLeft:
|
||||
discard
|
||||
of haCenter:
|
||||
xAdjustment = round((bounds.x - furthestX) / 2)
|
||||
xAdjustment = (bounds.x - furthestX) / 2
|
||||
of haRight:
|
||||
xAdjustment = bounds.x - furthestX
|
||||
|
||||
if xAdjustment != 0:
|
||||
for i in 0 ..< result.positions.len:
|
||||
for i in start .. stop:
|
||||
result.positions[i].x += xAdjustment
|
||||
result.selectionRects[i].x += xAdjustment
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 47 KiB |
Loading…
Reference in a new issue