Skip to content

Commit

Permalink
minor cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
DMaddison committed Aug 23, 2014
1 parent 8baae04 commit 9b4ded3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -3341,6 +3341,7 @@ public void ScanDrop(Graphics g, int x, int y, int modifiers) {

fieldTouchX = -1;
fieldTouchY = -1;

lastFieldDragX = -1;
lastFieldDragY = -1;
return;
Expand Down

0 comments on commit 9b4ded3

Please sign in to comment.