Fix "vertical" property of StyleBoxLine

This commit is contained in:
George Marques 2017-07-19 23:30:39 -03:00
parent 25678b1876
commit 2a0c0db028
No known key found for this signature in database
GPG Key ID: 046BD46A3201E43D
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ void StyleBoxLine::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::COLOR, "color"), "set_color", "get_color");
ADD_PROPERTY(PropertyInfo(Variant::INT, "thickness", PROPERTY_HINT_RANGE, "0,10"), "set_thickness", "get_thickness");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "vertical"), "set_vertical", "get_vertical");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "vertical"), "set_vertical", "is_vertical");
}
float StyleBoxLine::get_style_margin(Margin p_margin) const {
return thickness;