Bug 1828493 - Keep highlighted tab when entering multi-select mode

When using the grid layout for the tabs tray, entering multi-select
mode should not remove the higlight on the selected tab.
fenix/116.0
DreVla 1 year ago committed by mergify[bot]
parent cf55e9efd2
commit 600b918819

@ -84,7 +84,7 @@ fun TabGridItem(
onClick: (tab: TabSessionState) -> Unit, onClick: (tab: TabSessionState) -> Unit,
onLongClick: (tab: TabSessionState) -> Unit, onLongClick: (tab: TabSessionState) -> Unit,
) { ) {
val tabBorderModifier = if (isSelected && !multiSelectionEnabled) { val tabBorderModifier = if (isSelected) {
Modifier.border( Modifier.border(
4.dp, 4.dp,
FirefoxTheme.colors.borderAccent, FirefoxTheme.colors.borderAccent,

Loading…
Cancel
Save