fix: draggable region edge calculation on resize (#26233)
* fix: draggable region edge calculation on resize * Feedback from review
This commit is contained in:
parent
7f9b21daa0
commit
e021639472
4 changed files with 32 additions and 5 deletions
|
@ -82,8 +82,8 @@ void BrowserWindow::UpdateDraggableRegions(
|
|||
if ([subview isKindOfClass:[ControlRegionView class]])
|
||||
[subview removeFromSuperview];
|
||||
|
||||
// Draggable regions is implemented by having the whole web view draggable
|
||||
// (mouseDownCanMoveWindow) and overlaying regions that are not draggable.
|
||||
// Draggable regions are implemented by having the whole web view draggable
|
||||
// and overlaying regions that are not draggable.
|
||||
if (&draggable_regions_ != ®ions) {
|
||||
draggable_regions_.clear();
|
||||
for (const auto& r : regions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue