fix: first mouse not dragging BrowserView (#31062)
This commit is contained in:
parent
da921e680f
commit
919fd0f28d
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL)acceptsFirstMouse:(NSEvent*)event {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)shouldIgnoreMouseEvent {
|
||||
NSEventType type = [[NSApp currentEvent] type];
|
||||
return type != NSEventTypeLeftMouseDragged &&
|
||||
|
|
Loading…
Reference in a new issue