Fixed checkmark not showing mark if it was set as checked when created

This commit is contained in:
2019-02-02 08:49:06 -06:00
parent 8f842b7f58
commit bb4da1d52e

View File

@@ -4,7 +4,7 @@ module CyberarmEngine
super(options[:checkmark], options, block)
@checked = options[:checked] || false
if @checked
@text.text = options[:checkmark]
@text.text = @options[:checkmark]
else
@text.text = ""
end