From b85a3a8795d00869f3193375fc89024a226f2e16 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Thu, 25 Jan 2024 12:04:43 +0100 Subject: [PATCH] bump version, disable image drag --- electron/appInfo.js | 4 ++-- package.json | 2 +- src/app.pcss | 8 ++++++++ src/pages/Login.svelte | 2 ++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/electron/appInfo.js b/electron/appInfo.js index 1cf86c1..546e22d 100644 --- a/electron/appInfo.js +++ b/electron/appInfo.js @@ -1,4 +1,4 @@ const appName = "EZPPLauncher"; -const appVersion = "2.0.0"; +const appVersion = "2.1.0"; -module.exports = { appName, appVersion }; \ No newline at end of file +module.exports = { appName, appVersion }; diff --git a/package.json b/package.json index 33a8e63..5a642c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ezpplauncher-next", - "version": "2.0.0", + "version": "2.1.0", "description": "EZPPLauncher rewritten with Svelte.", "private": false, "license": "MIT", diff --git a/src/app.pcss b/src/app.pcss index 8a4eaf7..58b2654 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -6,7 +6,15 @@ * { font-family: "Prompt"; -webkit-user-select: none !important; + -khtml-user-select: none !important; + -moz-user-select: none !important; + -o-user-select: none !important; user-select: none !important; + -webkit-user-drag: none !important; + -khtml-user-drag: none !important; + -moz-user-drag: none !important; + -o-user-drag: none !important; + user-drag: none !important; } html .cet-titlebar { diff --git a/src/pages/Login.svelte b/src/pages/Login.svelte index 064bef7..00c5cf7 100644 --- a/src/pages/Login.svelte +++ b/src/pages/Login.svelte @@ -170,6 +170,7 @@ type="text" placeholder="Username" size="md" + class="animate-sideIn" disabled={loading} bind:value={username} /> @@ -177,6 +178,7 @@ type={showPassword ? "text" : "password"} placeholder="Password" size="md" + class="animate-lsideIn" disabled={loading} bind:value={password} >