From 99e4cc764579ad25cbe1cf0d9d5db15de56f8374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 2 Jun 2011 15:38:12 +0100 Subject: [PATCH] Add TODO comment about mousedown events not having delta set the first time. --- src/tool/Tool.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tool/Tool.js b/src/tool/Tool.js index 2fb27d90..6b924feb 100644 --- a/src/tool/Tool.js +++ b/src/tool/Tool.js @@ -295,6 +295,7 @@ var Tool = this.Tool = Base.extend({ } // Make sure mousemove events have lastPoint set even for the first move // so event.delta is always defined for them. + // TODO: Decide wether mousedown also should always have delta set. this._lastPoint = start && type == 'mousemove' ? pt : this._point; this._point = pt; switch (type) {