Fix a comment.

This commit is contained in:
Jürg Lehni 2011-11-17 00:06:21 +01:00
parent 1b484a2f7b
commit 427cc21b3a

View file

@ -107,7 +107,7 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
var hit = view._project.hitTest(point, hitOptions),
item = hit && hit.item;
if (item) {
// If this is a mousemove event and we change the over item,
// If this is a mousemove event and we change the overItem,
// reset lastPoint to point so delta is (0, 0)
if (type == 'mousemove' && item != overItem)
lastPoint = point;