Merge pull request #103316 from Rindbee/make-EditorProperty-and-its-children-behave-like-sibling-nodes

Make `EditorProperty` and its child `EditorProperty` behave like sibling nodes when handling mouse events
This commit is contained in:
Thaddeus Crews
2025-03-05 12:08:02 -06:00
6 changed files with 9 additions and 22 deletions

View File

@ -82,6 +82,7 @@ private:
bool draw_focus_border = false;
bool focus_border_is_drawn = false;
bool child_has_focus();
protected:
Size2 get_minimum_size() const override;
@ -98,7 +99,6 @@ 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;