aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorneauoire <[email protected]>2019-11-10 11:09:38 -0500
committerneauoire <[email protected]>2019-11-10 11:09:38 -0500
commit1931f31e872a8b01f9787fcdacb03d534e1cc6ae (patch)
tree7b731aaf23dd47b11af9f5a298c56b235adec059
parentb8f1dd261fd524d251e85da9fab281622305a977 (diff)
downloadOrca-1931f31e872a8b01f9787fcdacb03d534e1cc6ae.tar.gz
Orca-1931f31e872a8b01f9787fcdacb03d534e1cc6ae.zip
Fixed issue with window hiding on linux
-rw-r--r--desktop/main.js2
-rw-r--r--desktop/sources/scripts/lib/theme.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/main.js b/desktop/main.js
index 5fdee91..0693125 100644
--- a/desktop/main.js
+++ b/desktop/main.js
@@ -65,7 +65,7 @@ app.toggleMenubar = function () {
}
app.toggleVisible = function () {
- if (process.platform === 'win32') {
+ if (process.platform !== 'darwin') {
if (!app.win.isMinimized()) { app.win.minimize() } else { app.win.restore() }
} else {
if (isShown && !app.win.isFullScreen()) { app.win.hide() } else { app.win.show() }
diff --git a/desktop/sources/scripts/lib/theme.js b/desktop/sources/scripts/lib/theme.js
index 5104277..85fcc63 100644
--- a/desktop/sources/scripts/lib/theme.js
+++ b/desktop/sources/scripts/lib/theme.js
@@ -15,9 +15,9 @@ function Theme (client) {
f_med: '#666666',
f_low: '#888888',
f_inv: '#000000',
- b_high: '#ffffff',
- b_med: '#cccccc',
- b_low: '#dddddd',
+ b_high: '#cccccc',
+ b_med: '#dddddd',
+ b_low: '#ffffff',
b_inv: '#ffb545'
}