Add explanation about View#_itemEvents.native.

This commit is contained in:
Jürg Lehni 2016-01-27 12:17:38 +01:00
parent 5fa0810ca3
commit b40ff49523

View file

@ -1182,6 +1182,9 @@ new function() { // Injection scope for event handling on the browser
*/
_handleMouseEvent: function(type, event, point) {
var itemEvents = this._itemEvents,
// Look up hitItems, which tells us whether a given native mouse
// event requires an item hit-test or not, before changing type
// to the virtual value (e.g. mousemove -> mousedrag):
hitItems = itemEvents.native[type],
tool = this._scope.tool,
view = this;