Merge pull request #34707 from KoBeWi/omg

Fix argument type in set_follow_focus()
This commit is contained in:
Rémi Verschelde 2019-12-31 12:43:09 +01:00 committed by GitHub
commit c8e7036bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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();