hide fluent background option by default

This commit is contained in:
Eugene Pankov 2022-11-20 20:23:24 +01:00
parent 875e693d63
commit 74026ff59c
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 14 additions and 3 deletions

View File

@ -44,4 +44,5 @@ pluginBlacklist: []
hacks: hacks:
disableGPU: false disableGPU: false
disableVibrancyWhileDragging: false disableVibrancyWhileDragging: false
enableFluentBackground: false
language: null language: null

View File

@ -31,7 +31,7 @@ h3.mb-3(translate) Window
(ngModelChange)='saveConfiguration()' (ngModelChange)='saveConfiguration()'
) )
.form-line(*ngIf='config.store.appearance.vibrancy && isFluentVibrancySupported') .form-line(*ngIf='config.store.appearance.vibrancy && isFluentVibrancySupported && config.store.hacks.enableFluentBackground')
.header .header
.title(translate) Background type .title(translate) Background type
.btn-group( .btn-group(
@ -348,7 +348,7 @@ h3.mt-4(translate) Panes
h3.mt-4(translate) Hacks h3.mt-4(translate) Hacks
.form-line .form-line(*ngIf='hostApp.platform !== Platform.Web')
.header .header
.title(translate) Disable GPU acceleration .title(translate) Disable GPU acceleration
.description(translate) Tick this if you're experiencing aliasing, ghosting or other visual issues .description(translate) Tick this if you're experiencing aliasing, ghosting or other visual issues
@ -358,7 +358,17 @@ h3.mt-4(translate) Hacks
(ngModelChange)='config.save(); config.requestRestart()' (ngModelChange)='config.save(); config.requestRestart()'
) )
.form-line(*ngIf='hostApp.platform === Platform.Windows') .form-line(*ngIf='hostApp.platform === Platform.Windows && isFluentVibrancySupported')
.header
.title(translate) Enable fluent background option
.description(translate) Experimental Windows 10 background style known to cause issues
toggle(
[(ngModel)]='config.store.hacks.enableFluentBackground',
(ngModelChange)='config.save()'
)
.form-line(*ngIf='hostApp.platform === Platform.Windows && isFluentVibrancySupported')
.header .header
.title(translate) Disable fluent background while dragging .title(translate) Disable fluent background while dragging
.description(translate) Fluent background sometimes causes drag lag .description(translate) Fluent background sometimes causes drag lag