Skip to content

Commit

Permalink
[SCH Images][Fixed] Y position
Browse files Browse the repository at this point in the history
See #714
  • Loading branch information
set-soft committed Nov 13, 2024
1 parent 07b8e4b commit 4abd072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibot/out_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ def sch_replace_one_image(self, sheet, box, output_name, box_index):
logger.debugl(2, f'- Scale {scale}')
bmp = SchematicBitmapV6()
bmp.pos_x = box.pos_x + box.size.x/2
bmp.pos_y = box.pos_y + box.size.x/2
bmp.pos_y = box.pos_y + (img_h*scale)/2
bmp.scale = scale
bmp.uuid = ''
data = b64encode(s).decode('ascii')
Expand Down

0 comments on commit 4abd072

Please sign in to comment.