Change maxcarlson-20110109-AMR by maxcarl...@friendly on 2011-01-09 19:28:08 PST
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Optimize mouse and touch events
Bugs Fixed: LPP-8904 - Support touch and gesture events
Technical Reviewer: hminsky
QA Reviewer: ptw
Details: LzSprite - Remove unused listen_for_mouseover_out quirk. Reduce the
number of events registered for clickable views. LzSprite.__secondaryevents()
registers/unregisters for events onmouseover/outi/upoutside. Ignore ondrag
events, always send mousemove for touch events, rely on global onmousemove for
non touch browsers.
LzMouseKernel - Simplify __sendMouseMove().
Tests: test/lfc/legals/keyboardandmouse.lzx?lzr=dhtml and
examples/draggable.lzx?lzr=dhtml run like before in iOS and across browsers.
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20110109-AMR.tar