From 4b15bae5d4c18a0e90834aabfe7c8a23c8c5f5d7 Mon Sep 17 00:00:00 2001 From: rsesek Date: Sat, 11 Dec 2010 18:57:26 +0000 Subject: [PATCH] Change the mouse listeners to be on the element git-svn-id: svn://depot/macosx/RGBConverter/trunk@640 ad1dcce9-c9fe-0310-b82b-83ea1733dbb0 --- RGB Converter.wdgt/Widget.html | 6 +++--- RGB Converter.wdgt/Widget.js | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/RGB Converter.wdgt/Widget.html b/RGB Converter.wdgt/Widget.html index 87c9b32..923f31d 100644 --- a/RGB Converter.wdgt/Widget.html +++ b/RGB Converter.wdgt/Widget.html @@ -33,10 +33,10 @@ - - + + -
+
diff --git a/RGB Converter.wdgt/Widget.js b/RGB Converter.wdgt/Widget.js index 246a958..adb01bf 100644 --- a/RGB Converter.wdgt/Widget.js +++ b/RGB Converter.wdgt/Widget.js @@ -344,6 +344,9 @@ var animation = { function mousemove(event) { + if (backShowing_) + return; + if (!flipShown) { if (animation.timer != null) @@ -367,6 +370,9 @@ function mousemove(event) function mouseexit(event) { + if (backShowing_) + return; + if (flipShown) { // fade in the flip widget -- 2.43.5