Commit 7da9010
committed
Fix Acrylic backdrop misdetection caused by invalid flag comparison #117
Previously, CreateBackdropType() used a bitwise OR (|) check on DesktopAcrylicKind,
which is not a [Flags] enum. This caused regular Acrylic to be detected as AcrylicThin
after page reload. Updated the logic to use a direct equality check instead.1 parent 8d956bf commit 7da9010
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments