From: rsesek Date: Sat, 11 Dec 2010 18:57:26 +0000 (+0000) Subject: Change the mouse listeners to be on the element X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=4b15bae5d4c18a0e90834aabfe7c8a23c8c5f5d7;p=rgbconverter.git Change the mouse listeners to be on the element git-svn-id: svn://depot/macosx/RGBConverter/trunk@640 ad1dcce9-c9fe-0310-b82b-83ea1733dbb0 --- 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