ux v1.37.2: glow falloff 70/30 (was 80/20)

This commit is contained in:
Matysh
2026-07-23 14:29:11 +03:00
parent 6b9909768f
commit 0e14139fe2
9 changed files with 16 additions and 12 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ const res = await page.evaluate(async () => {
// 6б) профиль градиента: плато до 80%, спад на внешних 20%
const stops = [...sr().querySelectorAll('defs radialGradient')][0];
const offs = stops ? [...stops.querySelectorAll('stop')].map((st2) => [st2.getAttribute('offset'), st2.getAttribute('stop-opacity')]) : [];
out.plateau80 = offs.length === 3 && offs[0][0] === '0%' && offs[1][0] === '80%'
out.plateau80 = offs.length === 3 && offs[0][0] === '0%' && offs[1][0] === '70%'
&& offs[0][1] === offs[1][1] && offs[2][1] === '0';
// 7а) персональный радиус источника перекрывает глобальный
const litMarkerId = litLight.id;