Keep Scope opacity at half or more, and ignore a value that is not a number

A fainter mask reads as Scope off while labels still fade outside the
keyhole and the HUD gets no backplates.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-14 15:31:33 -08:00
1 parent a1e7b2a394
commit 2fd8d32a5d
7 files changed
+106 -42

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ test('detection-on-by-default is a default, not an operator override', () => {
// A factory default is not that. If applying the baseline set the flag, a
// fresh session would silently lose the style auto-enable behaviour — a
// separate landed feature, taken out by an unrelated change.
const applyDefaults = uiBlock(' _applyGlobalPostDefaults() {', '\n }\n');
const applyDefaults = uiBlock(' _applyGlobalPostDefaults({ keepHudVariant = false } = {}) {', '\n }\n');
assert.match(applyDefaults, /this\._setDetectionMode\(defaults\.detectionMode\)/,
'the baseline still goes through the real detection path');
assert.doesNotMatch(applyDefaults, /_detectionUserOverridden/,