Skip to content

Commit

Permalink
Merge pull request #5 from FireG3cko/master
Browse files Browse the repository at this point in the history
Fixed grid.cr compilation errors
  • Loading branch information
Hanyuan Li authored Aug 17, 2018
2 parents c449ed1 + d037188 commit 00c374c
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 @@ -10,12 +10,12 @@ module Hedron
property align_x : Align
property align_y : Align

def initialize(@size, @expand, @align_x, @align_y); end
def initialize(@size, @expand, @align_x : Align, @align_y : Align); end
end

class Grid < Control
def initialize
@this = UI.new_grid
@this = ui_control(UI.new_grid)
end

def initialize(@this); end
Expand Down

0 comments on commit 00c374c

Please sign in to comment.