Skip to content

Commit aaabce7

Browse files
zadjii-msftDHowett
authored andcommitted
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 (cherry picked from commit 1cedac6)
1 parent c9cde49 commit aaabce7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cascadia/TerminalSettingsEditor/Profiles.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
3333
// only works on Win11. So we'll use that.
3434
//
3535
// Remove when we can remove the rest of GH#11285
36-
if (value < 100.0 && winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings::IsDefaultTerminalAvailable())
36+
if (value < 100.0 &&
37+
!winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings::IsDefaultTerminalAvailable())
3738
{
3839
UseAcrylic(true);
3940
}

0 commit comments

Comments
 (0)