Fix the opacity slider (#11643)

I can't even write a description for this. Just read the code change, you'll see what I goofed.

Regressed in #11372

Closes #11555
This commit is contained in:
Mike Griese 2021-10-29 09:06:43 -05:00 committed by GitHub
parent 756fd444b1
commit 1cedac6a33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,8 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
// only works on Win11. So we'll use that.
//
// Remove when we can remove the rest of GH#11285
if (value < 100.0 && winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings::IsDefaultTerminalAvailable())
if (value < 100.0 &&
!winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings::IsDefaultTerminalAvailable())
{
UseAcrylic(true);
}