Skip to content

Fix rounded corner on the tray private button#2011

Merged
svillar merged 1 commit into
Igalia:mainfrom
monofunc:bugfix/tray-private-button-corner
Jun 9, 2026
Merged

Fix rounded corner on the tray private button#2011
svillar merged 1 commit into
Igalia:mainfrom
monofunc:bugfix/tray-private-button-corner

Conversation

@monofunc

@monofunc monofunc commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

While testing #2010 I noticed that the tray private browsing button gets a rounded bottom left corner when the maximum number of windows is open, even though the tabs button is still first in the row.

The rounded start background was picked based on isTabsBarVisible, which is true during normal browsing regardless of the tabs location. The condition is now tabsButtonInTray, so the button only becomes rounded when the tabs button is not in the tray.

Screenshot:
d689f11f08d6fd975cd37c6ccf646985

The button used isTabsBarVisible to pick the rounded start background
but that flag is true during normal browsing regardless of the tabs
location. Use tabsButtonInTray so the button is only rounded when it
is actually first in the row.

@svillar svillar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@svillar svillar merged commit 407fa34 into Igalia:main Jun 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants