fix(layout): match tab bars to shell theme and corners
This commit is contained in:
1 parent
bfa78f62f2
commit
038b8884fc
2 files changed
+55
-26
No files matched your search
@@ -119,7 +119,7 @@ class TabGroupsTest(unittest.TestCase):
|
||||
image = Image.open(io.BytesIO(captured)).convert("RGB")
|
||||
for index in range(3):
|
||||
left = active["x"] + active["width"] * index / 3 + 4
|
||||
right = left + min(100, active["width"] / 3 - 8)
|
||||
right = active["x"] + active["width"] * (index + 1) / 3 - 4
|
||||
box = (round(left * scale), round((active["y"] - 25) * scale),
|
||||
round(right * scale), round((active["y"] - 5) * scale))
|
||||
pixels = image.crop(box).tobytes()
|
||||
|
||||
Reference in new issue
Block a user