Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions patches/helium/windows/fix-oversized-vertical-tabs-toolbar.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- a/chrome/browser/ui/views/frame/browser_frame_view_win.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_view_win.cc
@@ -692,6 +692,10 @@ int BrowserFrameViewWin::TitlebarHeight(
}

int BrowserFrameViewWin::GetFrameHeight() const {
+ if (GetBrowserView()->ShouldDrawVerticalTabStrip()) {
+ return GetBrowserView()->toolbar()->GetPreferredSize().height();
+ }
+
if (GetBrowserView()->GetTabStripVisible()) {
// TODO(crbug.com/437915973): Account for the vertical tab region when using
// GetMinimumSize().
1 change: 1 addition & 0 deletions patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ ungoogled-chromium/windows/windows-fix-remove-unused-preferences-fields.patch
ungoogled-chromium/windows/windows-fix-missing-includes.patch

helium/windows/change-branding.patch
helium/windows/fix-oversized-vertical-tabs-toolbar.patch