aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-25 16:37:06 -0700
committerValerio Virgillito2012-06-25 16:37:06 -0700
commit96e1bb2a8d842dc37e4982a273a5bde48f6944c3 (patch)
treeb21bb4aa8efaff3105456a0a403343ef1ed76ab7 /js/ninja.reel
parent4e5331c9967d4a24df56160188cc916a4051052b (diff)
downloadninja-96e1bb2a8d842dc37e4982a273a5bde48f6944c3.tar.gz
Fix for IKNINJA-1615: Enable mouse up event on top of the user document scrollbar
Chrome has a bug where mouse up does not fire when the mouse is released on top of a scrollbar. To work around this issue, I temporary increase the canvas to cover the scrollbar when drawing and then shrink it back on mouse up. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-xjs/ninja.reel/ninja.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html
index beae59d9..1bd002ae 100755
--- a/js/ninja.reel/ninja.html
+++ b/js/ninja.reel/ninja.html
@@ -261,10 +261,6 @@
261 } 261 }
262 }, 262 },
263 263
264 "mouseMediator": {
265 "prototype": "js/mediators/mouse-mediator"
266 },
267
268 "keyboardMediator": { 264 "keyboardMediator": {
269 "prototype": "js/mediators/keyboard-mediator", 265 "prototype": "js/mediators/keyboard-mediator",
270 "properties":{ 266 "properties":{