Skip to content

Commit

Permalink
Fix "vertical" property of StyleBoxLine
Browse files Browse the repository at this point in the history
  • Loading branch information
vnen committed Jul 20, 2017
1 parent 25678b1 commit 2a0c0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/resources/style_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a0c0db

Please sign in to comment.