Browse Source
Remove non implemented message AvnView.resetPressedMouseButtons (#19445)
pull/19469/head
Julien Lebosquain
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
0 additions and
2 deletions
-
native/Avalonia.Native/src/OSX/AvnView.h
-
native/Avalonia.Native/src/OSX/WindowBaseImpl.mm
|
|
|
@ -19,7 +19,6 @@ |
|
|
|
-(AvnPoint) translateLocalPoint:(AvnPoint)pt; |
|
|
|
-(void) onClosed; |
|
|
|
-(void) setModifiers:(NSEventModifierFlags)modifierFlags; |
|
|
|
-(void) resetPressedMouseButtons; |
|
|
|
|
|
|
|
-(AvnPlatformResizeReason) getResizeReason; |
|
|
|
-(void) setResizeReason:(AvnPlatformResizeReason)reason; |
|
|
|
|
|
|
|
@ -450,7 +450,6 @@ HRESULT WindowBaseImpl::BeginDragAndDropOperation(AvnDragDropEffects effects, Av |
|
|
|
op |= NSDragOperationLink; |
|
|
|
if ((ieffects & (int) AvnDragDropEffects::Move) != 0) |
|
|
|
op |= NSDragOperationMove; |
|
|
|
[View resetPressedMouseButtons]; |
|
|
|
[View beginDraggingSessionWithItems:@[dragItem] event:nsevent |
|
|
|
source:CreateDraggingSource((NSDragOperation) op, cb, sourceHandle)]; |
|
|
|
return S_OK; |
|
|
|
|