Fix key icon overlapping revert icon

This commit is contained in:
Guilherme Felipe 2018-11-30 14:00:04 -02:00
parent 5b8dde4b4a
commit 2015c74104

View file

@ -128,7 +128,6 @@ void EditorProperty::_notification(int p_what) {
bottom_rect = Rect2(m, rect.size.height + get_constant("vseparation", "Tree"), size.width - m, bottom_editor->get_combined_minimum_size().height);
}
}
if (keying) {
Ref<Texture> key;
@ -140,6 +139,11 @@ void EditorProperty::_notification(int p_what) {
}
rect.size.x -= key->get_width() + get_constant("hseparator", "Tree");
if (no_children) {
text_size -= key->get_width() + 4 * EDSCALE;
}
}
}
//set children