Changeset 35


Ignore:
Timestamp:
05/14/08 10:03:13 (16 years ago)
Author:
ra33
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/MouseEventRouter.java

    r31 r35  
    2424 *
    2525 */
    26 public class MouseEventRouter extends JComponent implements AWTEventListener{
     26public class MouseEventRouter extends JComponent implements AWTEventListener {
    2727
    2828        private static final long serialVersionUID = 1L;
     
    9494                                        || Frame.itemAttachedToCursor()) {
    9595                                forwardToExpiditee = true;
    96 <<<<<<< .mine
    9796                        } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over
    9897                                                                                                                                // a specific
     
    110109                                forwardToExpiditee = (FrameUtils.onItem(DisplayIO
    111110                                                .getCurrentFrame(), containerPoint.x, containerPoint.y) != null);
    112 =======
    113                         } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over
    114                                 // a specific
    115                                 // expeditee
    116                                 // item?
    117                                 // NOTE: Do not use FrameUtils.getCurrentItem() - thats relevent
    118                                 // for old mouse position only
    119                                 for (Item i : DisplayIO.getCurrentFrame().getItems()) {
    120                                         if (i.getPolygon().contains(containerPoint)) {
    121                                                 forwardToExpiditee = true;
    122                                                 break;
    123                                         }
    124                                 }
    125 >>>>>>> .r28
    126111                        }
    127112
     
    223208                return false;
    224209        }
    225 <<<<<<< .mine
    226 
    227 =======
    228 >>>>>>> .r28
     210
    229211}
Note: See TracChangeset for help on using the changeset viewer.