Changeset 35
- Timestamp:
- 05/14/08 10:03:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/MouseEventRouter.java
r31 r35 24 24 * 25 25 */ 26 public class MouseEventRouter extends JComponent implements AWTEventListener {26 public class MouseEventRouter extends JComponent implements AWTEventListener { 27 27 28 28 private static final long serialVersionUID = 1L; … … 94 94 || Frame.itemAttachedToCursor()) { 95 95 forwardToExpiditee = true; 96 <<<<<<< .mine97 96 } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over 98 97 // a specific … … 110 109 forwardToExpiditee = (FrameUtils.onItem(DisplayIO 111 110 .getCurrentFrame(), containerPoint.x, containerPoint.y) != null); 112 =======113 } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over114 // a specific115 // expeditee116 // item?117 // NOTE: Do not use FrameUtils.getCurrentItem() - thats relevent118 // for old mouse position only119 for (Item i : DisplayIO.getCurrentFrame().getItems()) {120 if (i.getPolygon().contains(containerPoint)) {121 forwardToExpiditee = true;122 break;123 }124 }125 >>>>>>> .r28126 111 } 127 112 … … 223 208 return false; 224 209 } 225 <<<<<<< .mine 226 227 ======= 228 >>>>>>> .r28 210 229 211 }
Note:
See TracChangeset
for help on using the changeset viewer.