1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Make buttons properly obey stylebox content marins, closes #2156

This commit is contained in:
Juan Linietsky
2016-01-02 15:51:41 -03:00
parent be73e2d2f2
commit b0b1da6950
3 changed files with 5 additions and 1 deletions

View File

@@ -534,6 +534,7 @@ void Path2DEditor::edit(Node *p_path2d) {
if (!node->is_connected("visibility_changed", this, "_node_visibility_changed"))
node->connect("visibility_changed", this, "_node_visibility_changed");
} else {
if (canvas_item_editor->get_viewport_control()->is_connected("draw",this,"_canvas_draw"))