Changeset View
Changeset View
Standalone View
Standalone View
effects/login/package/contents/code/main.js
| Show All 16 Lines | |||||
| 17 | 17 | | |||
| 18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | *********************************************************************/ | 20 | *********************************************************************/ | ||
| 21 | 21 | | |||
| 22 | "use strict"; | 22 | "use strict"; | ||
| 23 | 23 | | |||
| 24 | var loginEffect = { | 24 | var loginEffect = { | ||
| 25 | duration: animationTime(2000), | 25 | duration: animationTime(1000), | ||
| 26 | isFadeToBlack: false, | 26 | isFadeToBlack: false, | ||
| 27 | loadConfig: function () { | 27 | loadConfig: function () { | ||
| 28 | loginEffect.isFadeToBlack = effect.readConfig("FadeToBlack", false); | 28 | loginEffect.isFadeToBlack = effect.readConfig("FadeToBlack", false); | ||
| 29 | }, | 29 | }, | ||
| 30 | isLoginSplash: function (window) { | 30 | isLoginSplash: function (window) { | ||
| 31 | var windowClass = window.windowClass; | 31 | var windowClass = window.windowClass; | ||
| 32 | if (windowClass === "ksplashx ksplashx") { | 32 | if (windowClass === "ksplashx ksplashx") { | ||
| 33 | return true; | 33 | return true; | ||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||