bugfix: catch errors in mouse_press handlers

akkartik
Dec 7, 2023, 8:39 PM
XJX53BE3XWYL2HNBHDHOXEGYZUOHWTWW3HQNUULBHY52B4UKVDOAC

Dependencies

  • [2] W4EQ6IW4 simplify state management for menus
  • [3] ZM7NOBRM new fork: carousel shell
  • [4] IP4LD33D mouse events for scrollbar
  • [5] RVJNNICY bugfix: autosave settings
  • [6] QG25UE3S bugfix: typo X-(
  • [7] 6DJMOJKE support event handlers
  • [8] Z5M23NTK implement second, 'output' editor
  • [9] EHKB76GO UI improvement: more stable scrollbar movement

Change contents

  • replacement in 0016-on.mouse_press at line 42
    [3.2017][3.2017:2149]()
    if car.mouse_press then car.mouse_press(x,y, mouse_button) end
    if car.mousepressed then car.mousepressed(x,y, mouse_button) end
    [3.2017]
    [3.1601]
    if car.mouse_press then
    call_protected(car.mouse_press, x,y, mouse_button)
    end
    if car.mousepressed then
    call_protected(car.mousepressed, x,y, mouse_button)
    end
  • replacement in 0016-on.mouse_press at line 49
    [3.1606][2.772:776]()
    end
    [3.1606]
    end