From 1cedac6a332cd17dba273c1d4a6d35d78ce1f3ee Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Fri, 29 Oct 2021 09:06:43 -0500 Subject: [PATCH] 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 --- src/cascadia/TerminalSettingsEditor/Profiles.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cascadia/TerminalSettingsEditor/Profiles.h b/src/cascadia/TerminalSettingsEditor/Profiles.h index 161f84e39..2bcbb1ca3 100644 --- a/src/cascadia/TerminalSettingsEditor/Profiles.h +++ b/src/cascadia/TerminalSettingsEditor/Profiles.h @@ -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); }