diff --git a/Source/mesquite/trees/BasicTreeWindowMaker/BasicTreeWindowMaker.java b/Source/mesquite/trees/BasicTreeWindowMaker/BasicTreeWindowMaker.java index 335a7c8b0..23288e2c6 100644 --- a/Source/mesquite/trees/BasicTreeWindowMaker/BasicTreeWindowMaker.java +++ b/Source/mesquite/trees/BasicTreeWindowMaker/BasicTreeWindowMaker.java @@ -3319,8 +3319,8 @@ public void ScanDrop(Graphics g, int x, int y, int modifiers) { if (currentTreeTool.isArrowTool() && fieldTouchX >= 0 && fieldTouchY >=0){ g.setColor(Color.blue); if (GraphicsUtil.useXORMode(g, false)){ - g.setXORMode(Color.white); //for some reason color doesn't matter in MacOS, but does in Win95 - GraphicsUtil.drawRect(g, fieldTouchX,fieldTouchY,lastFieldDragX-fieldTouchX,lastFieldDragY-fieldTouchY); + //g.setXORMode(Color.white); //for some reason color doesn't matter in MacOS, but does in Win95 + //GraphicsUtil.drawRect(g, fieldTouchX,fieldTouchY,lastFieldDragX-fieldTouchX,lastFieldDragY-fieldTouchY); } highlightedNodes = null; highlightedTaxa = null; @@ -3341,6 +3341,7 @@ public void ScanDrop(Graphics g, int x, int y, int modifiers) { fieldTouchX = -1; fieldTouchY = -1; + lastFieldDragX = -1; lastFieldDragY = -1; return;