extract scrolling logic out of insert_return

[?]
Jun 10, 2022, 6:21 PM
3TDOZESEOYHGF6LYKR6PYSPNFI3QUGED2BKM5LUDEKJKRIX3ACEAC

Dependencies

Change contents

  • edit in text.lua at line 182
    [3.27]
    [11.100]
    if (Cursor_y + Line_height) > App.screen.height then
    Text.snap_cursor_to_bottom_of_screen()
    end
  • edit in text.lua at line 378
    [3.405][3.3397:3464]()
    local scroll_down = (Cursor_y + Line_height) > App.screen.height
  • edit in text.lua at line 382
    [3.652][3.652:674](),[3.674][2.3:46](),[2.46][3.40:46](),[3.754][3.40:46](),[3.40][3.40:46]()
    if scroll_down then
    Text.snap_cursor_to_bottom_of_screen()
    end
  • edit in main.lua at line 423
    [13.753]
    [13.753]
    if (Cursor_y + Line_height) > App.screen.height then
    Text.snap_cursor_to_bottom_of_screen()
    end