This commit is contained in:
Alexander Frick 2025-01-02 12:09:15 -06:00
parent f88c0b4e46
commit 2c16deb5bf

View file

@ -157,7 +157,7 @@ void BrowserAppMenuButton::UpdateIcon() {
? kBrowserToolsChromeRefreshIcon ? kBrowserToolsChromeRefreshIcon
: kBrowserToolsChromeRefreshThoriumIcon; : kBrowserToolsChromeRefreshThoriumIcon;
// Fix Thorium hamburger menu size // Fix Thorium hamburger menu size
static const int icon_size = 22; static const int icon_size = features::IsChromeRefresh2023() ? 22 : 22;
for (auto state : kButtonStates) { for (auto state : kButtonStates) {
SkColor icon_color = GetForegroundColor(state); SkColor icon_color = GetForegroundColor(state);
SetImageModel(state, ui::ImageModel::FromVectorIcon(icon, icon_color, icon_size)); SetImageModel(state, ui::ImageModel::FromVectorIcon(icon, icon_color, icon_size));