From: Andrew Dolgov Date: Sat, 17 May 2008 05:36:54 +0000 (+0100) Subject: add fade-in to shortcut help overlay X-Git-Tag: 1.2.23-final~93 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=86deaa0eb982d8b7173df12b084e45c0e26ee391;p=tt-rss.git add fade-in to shortcut help overlay --- diff --git a/prefs.js b/prefs.js index 58d83f05..6889b7a6 100644 --- a/prefs.js +++ b/prefs.js @@ -1754,7 +1754,8 @@ function pref_hotkey_handler(e) { if (keycode == 191 && shift_key) { // ? if (!Element.visible("hotkey_help_overlay")) { - Element.show("hotkey_help_overlay"); + //Element.show("hotkey_help_overlay"); + Effect.Appear("hotkey_help_overlay", {duration : 0.3}); } else { Element.hide("hotkey_help_overlay"); } diff --git a/prefs.php b/prefs.php index 01a73169..288a5f2b 100644 --- a/prefs.php +++ b/prefs.php @@ -110,7 +110,7 @@ window.onload = init; -->
- ? Keyboard shortcuts + ? Keyboard shortcuts
 
diff --git a/tt-rss.js b/tt-rss.js index f6d60327..dd148b3d 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -530,7 +530,8 @@ function quickMenuGo(opid) { } if (opid == "qmcHKhelp") { - Element.show("hotkey_help_overlay"); + //Element.show("hotkey_help_overlay"); + Effect.Appear("hotkey_help_overlay", {duration : 0.3}); } } catch (e) { @@ -973,7 +974,8 @@ function hotkey_handler(e) { if (keycode == 191 && shift_key) { // ? if (!Element.visible("hotkey_help_overlay")) { - Element.show("hotkey_help_overlay"); + //Element.show("hotkey_help_overlay"); + Effect.Appear("hotkey_help_overlay", {duration : 0.3}); } else { Element.hide("hotkey_help_overlay"); }