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