Fix "vertical" property of StyleBoxLine
This commit is contained in:
parent
25678b1876
commit
2a0c0db028
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue