polish: widen gap between the two bind-icon circles (1px to 5px)

This commit is contained in:
Aisland
2026-08-19 20:56:35 +08:00
parent 763293dba7
commit e9e100cd3a
3 changed files with 15 additions and 4 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
var cs = getComputedStyle(b);
var c4 = getComputedStyle(b.querySelector('.dsh-wt_bindCircles'), '::before');
var aft = getComputedStyle(b, '::after');
return { w: cs.width, h: cs.height, radius: cs.borderRadius, color: cs.color, circleW: c4.width, circleBorder: c4.borderTopWidth, circleFill: c4.backgroundColor, tip: aft.content, tipRight: aft.right, tipLeft: aft.left, hoverBg: cs.backgroundColor };
var c5 = getComputedStyle(b.querySelector('.dsh-wt_bindCircles'), '::after');
return { w: cs.width, h: cs.height, radius: cs.borderRadius, color: cs.color, circleW: c4.width, circleBorder: c4.borderTopWidth, circleFill: c4.backgroundColor, circleLeft: c4.left, circle2Left: c5.left, gap: (parseFloat(c5.left)||0) - (parseFloat(c4.width)||0), tip: aft.content, tipRight: aft.right, tipLeft: aft.left, hoverBg: cs.backgroundColor };
};
// 未绑定态
out.unbound = read(btn);