bugfix: touch handler signatures

akkartik
Jul 10, 2024, 3:29 AM
CTARXZJUNCFTZHJ5522RLJUSE6UVH6BKTSK3OYGPDG4LUT5DJ36QC

Dependencies

Change contents

  • replacement in main.lua at line 210
    [3.762][3.762:810]()
    function App.touchpressed(x,y, dx,dy, pressure)
    [3.762]
    [3.810]
    function App.touchpressed(id, x,y, dx,dy, pressure)
  • replacement in main.lua at line 213
    [3.921][3.921:987]()
    if on.touch_press then on.touch_press(x,y, dx,dy, pressure) end
    [3.921]
    [3.987]
    if on.touch_press then on.touch_press(id, x,y, dx,dy, pressure) end
  • replacement in main.lua at line 216
    [3.992][3.992:1041]()
    function App.touchreleased(x,y, dx,dy, pressure)
    [3.992]
    [3.1041]
    function App.touchreleased(id, x,y, dx,dy, pressure)
  • replacement in main.lua at line 219
    [3.1152][3.1152:1222]()
    if on.touch_release then on.touch_release(x,y, dx,dy, pressure) end
    [3.1152]
    [3.1222]
    if on.touch_release then on.touch_release(id, x,y, dx,dy, pressure) end
  • replacement in main.lua at line 222
    [3.1227][3.1227:1337]()
    function App.touchmoved(x,y, dx,dy, pressure)
    if on.touch_move then on.touch_move(x,y, dx,dy, pressure) end
    [3.1227]
    [2.478]
    function App.touchmoved(id, x,y, dx,dy, pressure)
    if on.touch_move then on.touch_move(id, x,y, dx,dy, pressure) end