|
@@ -35,6 +35,12 @@
|
|
|
#include "editor/editor_scale.h"
|
|
|
#include "editor/multi_node_edit.h"
|
|
|
|
|
|
+Size2 EditorPath::get_minimum_size() const {
|
|
|
+ Ref<Font> font = get_theme_font(SNAME("font"));
|
|
|
+ int font_size = get_theme_font_size(SNAME("font_size"));
|
|
|
+ return Button::get_minimum_size() + Size2(0, font->get_height(font_size));
|
|
|
+}
|
|
|
+
|
|
|
void EditorPath::_add_children_to_popup(Object *p_obj, int p_depth) {
|
|
|
if (p_depth > 8) {
|
|
|
return;
|