transparency support on Linux

This commit is contained in:
Eugene Pankov
2018-10-06 20:50:06 +02:00
parent 3d7a4a1e0e
commit 441164363f
5 changed files with 28 additions and 15 deletions

View File

@@ -66,16 +66,16 @@ ngb-tabset.vertical(type='pills', [activeId]='activeTab')
toggle(
[(ngModel)]='config.store.appearance.vibrancy',
(ngModelChange)='config.save(); (hostApp.platform === Platform.Windows && config.requestRestart())'
(ngModelChange)='config.save()'
)
.form-line(*ngIf='hostApp.platform !== Platform.Linux')
.form-line
.header
.title Window opacity
input(
type='range',
[(ngModel)]='config.store.appearance.opacity',
(ngModelChange)='config.save()',
(ngModelChange)='config.save(); (hostApp.platform === Platform.Linux && config.requestRestart())',
min='0.05',
max='1',
step='0.01'