You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
While a tab is carried, the selected tab's white disc gets a dark bite and can be dragged out under the bar's end #226
What is broken. Two artifacts from rearranging the bar on the owner's phone:
The white disc of the selected tab showed a dark notch on one edge.
The white disc was cut in half by the pill's rounded end.
Cause.
An unselected tab's disc is painted in scheme.primary, the pill's own colour, so normally it is invisible. Carried, the tab is drawn above its neighbours at 1.1×. Nudged toward the selected tab, its pill-coloured disc covers part of the white one: a dark bite.
The carried tab follows the raw finger offset (dragPx += delta) with no bounds. dropIndex already parks a finger that has left the bar at the end slot, so every pixel beyond the end only moves the disc out under the pill's clipped end.
Expected.
The carried tab stays within the row.
An unselected tab's disc is transparent at rest and has a colour of its own while carried, so it never paints over the selected one.
Activity
Keep a carried tab inside the row, and stop its disc biting the selec…
Let the selected tab grow to its label, so «Календарь» is read rather…
Merge the bar's carry and label fixes into dev (#225, #226, #227)
Fade a tab's disc with the selection, so the tab losing it does not l…
Fade a tab's disc between the bar and white in the light theme, never…