feedback
This commit is contained in:
parent
62c7fcd7ed
commit
85bd786dd0
3 changed files with 2 additions and 2 deletions
|
@ -235,12 +235,12 @@ proc typeset*(
|
||||||
of haLeft:
|
of haLeft:
|
||||||
discard
|
discard
|
||||||
of haCenter:
|
of haCenter:
|
||||||
xAdjustment = round((bounds.x - furthestX) / 2)
|
xAdjustment = (bounds.x - furthestX) / 2
|
||||||
of haRight:
|
of haRight:
|
||||||
xAdjustment = bounds.x - furthestX
|
xAdjustment = bounds.x - furthestX
|
||||||
|
|
||||||
if xAdjustment != 0:
|
if xAdjustment != 0:
|
||||||
for i in 0 ..< result.positions.len:
|
for i in start .. stop:
|
||||||
result.positions[i].x += xAdjustment
|
result.positions[i].x += xAdjustment
|
||||||
result.selectionRects[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