Commit 03fad4b
workspace: Fix pinned tab causing resize loop on adjacent tab (#41884)
Closes #41467
My first PR in Zed, any guidance or tips are appreciated.
This fixes the flickering/resize loop that occurred on the tab
immediately to the right of a pinned tab.
Removed the conditional border on the pinned tabs container. The border
was a visual indicator to show when unpinned tabs were scrolled, but it
wasn't essential and was causing the layout thrashing.
Release Notes:
- Fixed
---------
Co-authored-by: Smit Barmase <[email protected]>1 parent c626e77 commit 03fad4b
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
3074 | 3074 | | |
3075 | 3075 | | |
3076 | 3076 | | |
| 3077 | + | |
3077 | 3078 | | |
3078 | 3079 | | |
3079 | 3080 | | |
| |||
3097 | 3098 | | |
3098 | 3099 | | |
3099 | 3100 | | |
3100 | | - | |
3101 | 3101 | | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
3102 | 3105 | | |
3103 | 3106 | | |
3104 | 3107 | | |
| |||
0 commit comments