Skip to content

Commit

Permalink
Fixed cell_info align
Browse files Browse the repository at this point in the history
forgot to change cell_info.align[0] into cell_info.align_x
  • Loading branch information
FireG3cko authored Aug 17, 2018
1 parent d037188 commit 9002213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hedron/ui/grid.cr
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ module Hedron
ui_control(widget.control.to_unsafe),
coords[0], coords[1],
cell_info.size[0], cell_info.size[1],
to_int(cell_info.expand[0]), cell_info.align[0].value,
to_int(cell_info.expand[1]), cell_info.align[1].value
to_int(cell_info.expand[0]), cell_info.align_x.value,
to_int(cell_info.expand[1]), cell_info.align_y.value
)
end

Expand Down

0 comments on commit 9002213

Please sign in to comment.