hedron-crystal / hedron

An extendable UI library in Crystal, with markup capabilities.
MIT License
85 stars 5 forks source link

Fixed @align_x initialize error on linux #2

Closed FireG3cko closed 6 years ago

FireG3cko commented 6 years ago

When compiling with Crystal 0.25.1, an error is returned since @align_x and @align_y aren't initialized. This fixes that.

hanyuone commented 6 years ago

Thanks for creating this PR! I'm currently on a Windows device, so I've been pretty much "blind" in implementing this.