mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
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:
1 parent
a1e7b2a394
commit
2fd8d32a5d
7 files changed
+106
-42
No files matched your search
@@ -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/,
|
||||
|
||||
Reference in new issue
Block a user