omits setMouseDownCanMoveWindow call for OffScreenView
This commit is contained in:
parent
7624958cf2
commit
0bb5dabf99
1 changed files with 3 additions and 1 deletions
|
@ -1128,7 +1128,9 @@ void NativeWindowMac::UpdateDraggableRegionViews(
|
||||||
NSInteger webViewWidth = NSWidth([webView bounds]);
|
NSInteger webViewWidth = NSWidth([webView bounds]);
|
||||||
NSInteger webViewHeight = NSHeight([webView bounds]);
|
NSInteger webViewHeight = NSHeight([webView bounds]);
|
||||||
|
|
||||||
|
if ([webView respondsToSelector:@selector(setMouseDownCanMoveWindow:)]) {
|
||||||
[webView setMouseDownCanMoveWindow:YES];
|
[webView setMouseDownCanMoveWindow:YES];
|
||||||
|
}
|
||||||
|
|
||||||
// Remove all ControlRegionViews that are added last time.
|
// Remove all ControlRegionViews that are added last time.
|
||||||
// Note that [webView subviews] returns the view's mutable internal array and
|
// Note that [webView subviews] returns the view's mutable internal array and
|
||||||
|
|
Loading…
Reference in a new issue