Ship floating launcher, automatic discovery and bounded media search improvements
This commit is contained in:
1 parent
01279a6b25
commit
521966a2ac
43 files changed
+3165
-267
No files matched your search
@@ -18,7 +18,7 @@ test('high contrast stays opaque without losing the preference', () => {
|
||||
test('fallback is honest and shell tint is bounded', () => {
|
||||
const fallback = {...glass(), effective_material:'solid', native_effect:false, fallback_reason:'Native effects unavailable.'};
|
||||
assert.match(appearanceView(fallback, false).message, /Solid background/);
|
||||
assert.equal(appearanceView({...glass(), opacity:5}, false).opacity, 70);
|
||||
assert.equal(appearanceView({...glass(), opacity:5}, false).opacity, 40);
|
||||
assert.equal(appearanceView({...glass(), opacity:110}, false).opacity, 100);
|
||||
assert.equal(appearanceView({...glass(), opacity:NaN}, false).opacity, 90);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user