diff --git a/css/dark.css b/css/dark.css index 7600f51..72eb7d4 100644 --- a/css/dark.css +++ b/css/dark.css @@ -256,6 +256,10 @@ input:focus { border: 1px solid var(--themePrimary); } +input:focus+label { + color: var(--themePrimary); +} + input:disabled { background-color: var(--gray130); } @@ -317,6 +321,7 @@ button { button:focus { outline: none !important; + background: var(--themeDarkAlt); } button:hover { diff --git a/css/light.css b/css/light.css index 1d9f103..b2c6193 100644 --- a/css/light.css +++ b/css/light.css @@ -256,6 +256,10 @@ input:focus { border: 1px solid var(--themePrimary); } +input:focus+label { + color: var(--themePrimary); +} + input:disabled { background-color: var(--gray90); } @@ -317,6 +321,7 @@ button { button:focus { outline: none !important; + background: var(--themeDarkAlt); } button:hover { diff --git a/jars/openxliff.jar b/jars/openxliff.jar index 85a7bea..6cc3aec 100644 Binary files a/jars/openxliff.jar and b/jars/openxliff.jar differ diff --git a/package.json b/package.json index 055c919..2a1b570 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "swordfish", "productName": "Swordfish", - "version": "4.5.2", + "version": "4.5.3", "description": "Swordfish Translation Editor", "main": "js/App.js", "scripts": { @@ -21,8 +21,8 @@ }, "devDependencies": { "@types/node-fetch": "^2.5.10", - "electron": "^13.1.2", - "typescript": "^4.3.4" + "electron": "^13.1.5", + "typescript": "^4.3.5" }, "dependencies": { "node-fetch": "^2.6.1" diff --git a/src/com/maxprograms/swordfish/Constants.java b/src/com/maxprograms/swordfish/Constants.java index 0b521d0..891499d 100644 --- a/src/com/maxprograms/swordfish/Constants.java +++ b/src/com/maxprograms/swordfish/Constants.java @@ -19,8 +19,8 @@ private Constants() { } public static final String APPNAME = "Swordfish"; - public static final String VERSION = "4.5.2"; - public static final String BUILD = "20210620_1049"; + public static final String VERSION = "4.5.3"; + public static final String BUILD = "20210704_1004"; public static final String REASON = "reason"; public static final String STATUS = "status"; diff --git a/ts/App.ts b/ts/App.ts index 3796426..e431fb8 100644 --- a/ts/App.ts +++ b/ts/App.ts @@ -2066,10 +2066,12 @@ class Swordfish { } } }).catch((reason: any) => { - Swordfish.showMessage({ - type: 'error', - message: JSON.stringify(reason) - }); + if (!silent) { + Swordfish.showMessage({ + type: 'error', + message: JSON.stringify(reason) + }); + } }); }