Make editor inspector follow focus
This commit is contained in:
parent
46424488ed
commit
c6e895050d
|
@ -22,6 +22,7 @@
|
|||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="follow_focus" type="bool" setter="set_follow_focus" getter="is_following_focus" overrides="ScrollContainer" default="true" />
|
||||
<member name="horizontal_scroll_mode" type="int" setter="set_horizontal_scroll_mode" getter="get_horizontal_scroll_mode" overrides="ScrollContainer" enum="ScrollContainer.ScrollMode" default="0" />
|
||||
</members>
|
||||
<signals>
|
||||
|
|
|
@ -4189,6 +4189,7 @@ EditorInspector::EditorInspector() {
|
|||
main_vbox->add_theme_constant_override("separation", 0);
|
||||
add_child(main_vbox);
|
||||
set_horizontal_scroll_mode(SCROLL_MODE_DISABLED);
|
||||
set_follow_focus(true);
|
||||
|
||||
changing = 0;
|
||||
search_box = nullptr;
|
||||
|
|
Loading…
Reference in New Issue