2 Commits

Author SHA1 Message Date
739ae86966 Bump version 2019-05-06 19:21:56 -05:00
3be16c644f Fix Text height returning 0 if @text is blank 2019-05-06 19:21:30 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ module CyberarmEngine
end end
def height def height
(@text.lines.count) * textobject.height @text.lines.count > 0 ? (@text.lines.count) * textobject.height : @textobject.height
end end
def draw def draw

View File

@@ -1,4 +1,4 @@
module CyberarmEngine module CyberarmEngine
NAME = "InDev" NAME = "InDev"
VERSION = "0.5.0" VERSION = "0.5.1"
end end