From 9d8434261aeb5727cefb4575f01251ef187c6999 Mon Sep 17 00:00:00 2001 From: FireG3cko <35481250+FireG3cko@users.noreply.github.com> Date: Sun, 12 Aug 2018 17:38:05 -0400 Subject: [PATCH] Fixed @align_x initialize error on linux When compiling with Crystal 0.25.1, an error is returned since @align_x and @align_y aren't initialized. This fixes that. --- src/hedron/ui/grid.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hedron/ui/grid.cr b/src/hedron/ui/grid.cr index fcaa96a..d1704a9 100644 --- a/src/hedron/ui/grid.cr +++ b/src/hedron/ui/grid.cr @@ -10,7 +10,7 @@ module Hedron property align_x : Align property align_y : Align - def initialize(@size, @expand, @align); end + def initialize(@size, @expand, @align_x, @align_y); end end class Grid < Control