Ignore:
Timestamp:
11/02/08 13:05:01 (16 years ago)
Author:
ra33
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Dot.java

    r282 r376  
    2626        // Standard Item variables
    2727
    28         private static final int _MINIMUM_DOT_SIZE = 6;
     28        //private static final int _MINIMUM_DOT_SIZE = 6;
    2929
    3030        private static final int MINIMUM_DOT_SIZE = 2;
     
    120120                        // Draw the highlighting rectangle surrounding the dot
    121121                        // this is drawn even if its part of a rectangle
     122                       
     123                        if(isVectorItem())
     124                                updatePolygon();
     125                       
    122126                        Rectangle rect = getPolygon().getBounds();
    123127                        if (_mode == HighlightMode.Enclosed ||
     
    177181                int thick = Math.round(getThickness());
    178182                // Sets a minimum size for the dot
    179                 thick = Math.max(thick, _MINIMUM_DOT_SIZE);
     183                thick = Math.max(thick, getGravity() * 2);
    180184
    181185                int x = getX() - thick / 2;
Note: See TracChangeset for help on using the changeset viewer.