Editor: fix code editor scrolling experience on track pads

This commit is contained in:
Bram Buurlage
2023-02-17 14:50:46 +01:00
parent 44e399ed5f
commit 6ffa9b0635
2 changed files with 15 additions and 20 deletions

View File

@ -500,8 +500,8 @@ private:
double _get_visible_lines_offset() const;
double _get_v_scroll_offset() const;
void _scroll_up(real_t p_delta);
void _scroll_down(real_t p_delta);
void _scroll_up(real_t p_delta, bool p_animate);
void _scroll_down(real_t p_delta, bool p_animate);
void _scroll_lines_up();
void _scroll_lines_down();