diff options
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/scroll_container.cpp | 2 | ||||
-rw-r--r-- | scene/gui/scroll_container.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/scroll_container.cpp b/scene/gui/scroll_container.cpp index c44cebb84a..169e1db663 100644 --- a/scene/gui/scroll_container.cpp +++ b/scene/gui/scroll_container.cpp @@ -514,7 +514,7 @@ bool ScrollContainer::is_following_focus() const { return follow_focus; } -void ScrollContainer::set_follow_focus(int p_follow) { +void ScrollContainer::set_follow_focus(bool p_follow) { follow_focus = p_follow; } diff --git a/scene/gui/scroll_container.h b/scene/gui/scroll_container.h index d4576372ac..959bc43870 100644 --- a/scene/gui/scroll_container.h +++ b/scene/gui/scroll_container.h @@ -95,7 +95,7 @@ public: void set_deadzone(int p_deadzone); bool is_following_focus() const; - void set_follow_focus(int p_follow); + void set_follow_focus(bool p_follow); HScrollBar *get_h_scrollbar(); VScrollBar *get_v_scrollbar(); |