mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
6
This commit is contained in:
parent
e41862ba91
commit
8b441575e1
1 changed files with 2 additions and 2 deletions
|
@ -767,7 +767,7 @@ index b57fb5baa52a7..4fc9467f16b6c 100644
|
|||
// extends beyond the screen edges. In that case, we must return the
|
||||
// default value.
|
||||
- const int kTopResizeFrameArea = 0;
|
||||
+ const int kTopResizeFrameArea = features::IsThorium2024() ? 7 : 0;
|
||||
+ const int kTopResizeFrameArea = features::IsThorium2024() ? 6 : 0;
|
||||
return kTopResizeFrameArea;
|
||||
}
|
||||
|
||||
|
@ -1008,7 +1008,7 @@ index 67b69d18a802e..f2189d01b206f 100644
|
|||
+ }
|
||||
+ // Besides the frame border, there's empty space atop the window in restored
|
||||
+ // mode, to use to drag the window around.
|
||||
+ int thickness = 6;
|
||||
+ constexpr int thickness = 6;
|
||||
+ if (delegate_->EverHasVisibleBackgroundTabShapes()) {
|
||||
+ thickness =
|
||||
+ std::max(thickness, BrowserNonClientFrameView::kMinimumDragHeight);
|
||||
|
|
Loading…
Reference in a new issue