FLUID-147: Position of mouse over a drop target during drag-and-drop should be handled by LayoutHandler

Metadata

Source
FLUID-147
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Joseph Scheuhammer
Created
2007-12-17T11:10:01.000-0500
Updated
2008-08-09T14:26:07.000-0400
Versions
  1. 0.1
Fixed Versions
N/A
Component
  1. Reorderer

Description

Currently, calculating whether the mouse is positioned "before" or "after" the drop target during drag-and-drop is handled by the Reorderer itself – see trackMouseMovement() and beforeOrAfter(). This responsibility should be moved to the layouthandler since it is in a better position to know what "before" or "after" means.

Comments

  • Colin Clark commented 2008-01-07T16:37:13.000-0500

    Joseph was both the reporter and the fixer, so someone else show review and verify this code. I'll do it.