diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-08 09:16:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 09:16:57 +0100 |
commit | 5cf178f3bfba50a4fdff185dbfadf2b369368ad8 (patch) | |
tree | 86e43064204cdc02f79bed41f579cd85568820d2 /editor/code_editor.cpp | |
parent | f48b9367bc77076c80b3855bd25d6190967075fc (diff) | |
parent | 841a9ef820925b6960e92a86f4482d1654e66897 (diff) |
Merge pull request #55694 from KoBeWi/scrollbar_modding_tools
ScrollContainer's scrollbar visibility is now enum
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 1f01e9d4cf..0f6fdcdae5 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1854,7 +1854,7 @@ CodeTextEditor::CodeTextEditor() { ScrollContainer *scroll = memnew(ScrollContainer); scroll->set_h_size_flags(SIZE_EXPAND_FILL); scroll->set_v_size_flags(SIZE_EXPAND_FILL); - scroll->set_enable_v_scroll(false); + scroll->set_vertical_scroll_mode(ScrollContainer::SCROLL_MODE_DISABLED); status_bar->add_child(scroll); error = memnew(Label); |