opal-jquery icon indicating copy to clipboard operation
opal-jquery copied to clipboard

on mobile can't get more than first touch

Open jeezs opened this issue 5 years ago • 1 comments

in order to capture more than the first touch, the 'touch def' should accept optional params :

def touch_x(touch_nb = 0) #@native.originalEvent.touches[#{touch_nb}].pageX end

def touch_y(touch_nb = 0) #@native.originalEvent.touches[#{touch_nb}].pageY end

jeezs avatar Jun 04 '20 15:06 jeezs

@jeezs the proposed implementation looks good, can you please submit a pull-request with that change?

elia avatar Jun 09 '20 22:06 elia