From 2e2d4f1eaa9c8293edd11b311bf200d08624aa48 Mon Sep 17 00:00:00 2001 From: Bryan Veloso Date: Sat, 18 Feb 2012 18:09:39 -0800 Subject: [PATCH] Yeah, those images? They shouldn't be going anywhere. --- AppDelegate.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppDelegate.m b/AppDelegate.m index 307220d..a14d5ef 100644 --- a/AppDelegate.m +++ b/AppDelegate.m @@ -248,6 +248,11 @@ - (NSUInteger)webView:(WebView *)webView dragDestinationActionMaskForDraggingInf return WebDragDestinationActionNone; // We shouldn't be able to drag things into the webView. } +- (NSUInteger)webView:(WebView *)webView dragSourceActionMaskForPoint:(NSPoint)point +{ + return WebDragSourceActionNone; // We shouldn't be able to drag the artwork out of the webView. +} + - (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems { return nil; // Disable the webView's contextual menu.