diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-12 09:31:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 09:31:33 +0100 |
commit | 8c045fc9ff8101a3581045ed4baa02565850aebd (patch) | |
tree | 1409320d24f2e007ff9177ac4fed7622ba66b7f7 /scene/gui/text_edit.h | |
parent | 7195f6b973f098f2404e0afd575bf2428acebb5a (diff) | |
parent | 2d4ef1c193d57e8af4175564845a01a6fff0eff4 (diff) |
Merge pull request #44288 from Chaosus/fix_textedit_scrolling
Fixed mouse scrolling in TextEdit's
Diffstat (limited to 'scene/gui/text_edit.h')
-rw-r--r-- | scene/gui/text_edit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index c2fe4afec5..3f16ed1366 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -700,7 +700,7 @@ public: int cursor_get_column() const; int cursor_get_line() const; - Vector2i _get_cursor_pixel_pos(); + Vector2i _get_cursor_pixel_pos(bool p_adjust_viewport = true); bool cursor_get_blink_enabled() const; void cursor_set_blink_enabled(const bool p_enabled); |