From 0b98dabd1f4c9c9b3b63843c617a8332d232ebfd Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Fri, 15 Apr 2011 10:47:53 +0000 Subject: [PATCH] minor refactoring svn changeset:18321/svn branch:6.6 --- .../vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java b/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java index 704a43c403..896662436f 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VDragAndDropWrapper.java @@ -103,16 +103,16 @@ public class VDragAndDropWrapper extends VCustomComponent implements paintable = (Paintable) w; transferable.setData("component", paintable); - VDragEvent startDrag = VDragAndDropManager.get().startDrag( + VDragEvent dragEvent = VDragAndDropManager.get().startDrag( transferable, event, true); transferable.setData("mouseDown", new MouseEventDetails(event).serialize()); if (dragStarMode == WRAPPER) { - startDrag.createDragImage(getElement(), true); + dragEvent.createDragImage(getElement(), true); } else { - startDrag.createDragImage(((Widget) paintable).getElement(), + dragEvent.createDragImage(((Widget) paintable).getElement(), true); } return true; -- 2.39.5