mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 09:31:20 +08:00
fix a bug in tap/:at
This commit is contained in:
@@ -323,8 +323,6 @@ module Bacon
|
||||
touches = options[:touches] || 1
|
||||
location = _coerce_location_to_point(view, options[:at], false) || view.superview.convertPoint(view.center, toView:nil)
|
||||
|
||||
location = view.superview.convertPoint(view.center, toView:window)
|
||||
|
||||
_event_generator.sendTaps(taps,
|
||||
location:location,
|
||||
withNumberOfTouches:touches,
|
||||
|
||||
Reference in New Issue
Block a user