fix(layout): make tab bars more compact

This commit is contained in:
Samuel Onoja committed 2026-10-12 23:32:13 +01:00
1 parent 038b8884fc
commit a3974c2dda
4 files changed
+24 -10

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ class TabGroupsTest(unittest.TestCase):
for index in range(3):
left = active["x"] + active["width"] * index / 3 + 4
right = active["x"] + active["width"] * (index + 1) / 3 - 4
box = (round(left * scale), round((active["y"] - 25) * scale),
box = (round(left * scale), round((active["y"] - 20) * scale),
round(right * scale), round((active["y"] - 5) * scale))
pixels = image.crop(box).tobytes()
if not any(min(pixels[i:i + 3]) > 130 for i in range(0, len(pixels), 3)):