Merge pull request #102775 from KoBeWi/😐

Fix inspector follow focus when child is focused
This commit is contained in:
Thaddeus Crews
2025-02-14 08:25:38 -06:00
3 changed files with 14 additions and 10 deletions

View File

@ -82,7 +82,6 @@ private:
bool draw_focus_border = false;
bool focus_border_is_drawn = false;
bool child_has_focus();
protected:
Size2 get_minimum_size() const override;
@ -99,6 +98,7 @@ protected:
public:
virtual void gui_input(const Ref<InputEvent> &p_gui_input) override;
bool child_has_focus();
void set_h_scroll(int p_pos);
int get_h_scroll() const;