浏览代码

HUE-3289 [assist] The action icons stay a bit too long after hover

Johan Ahlen 9 年之前
父节点
当前提交
78cfc35
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 3 - 3
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -127,15 +127,15 @@
       var inside = false;
 
       var show = function () {
-        $element.find(selector).fadeTo("normal", 1);
+        $element.find(selector).fadeTo("fast", 1);
         clearTimeout(hideTimeout);
       };
 
       var hide = function () {
         if (! inside) {
           hideTimeout = window.setTimeout(function () {
-            $element.find(selector).fadeTo("normal", 0);
-          }, 50);
+            $element.find(selector).fadeTo("fast", 0);
+          }, 10);
         }
       };