Changeset 376 for trunk/src/org/expeditee/items/Dot.java
- Timestamp:
- 11/02/08 13:05:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Dot.java
r282 r376 26 26 // Standard Item variables 27 27 28 private static final int _MINIMUM_DOT_SIZE = 6;28 //private static final int _MINIMUM_DOT_SIZE = 6; 29 29 30 30 private static final int MINIMUM_DOT_SIZE = 2; … … 120 120 // Draw the highlighting rectangle surrounding the dot 121 121 // this is drawn even if its part of a rectangle 122 123 if(isVectorItem()) 124 updatePolygon(); 125 122 126 Rectangle rect = getPolygon().getBounds(); 123 127 if (_mode == HighlightMode.Enclosed || … … 177 181 int thick = Math.round(getThickness()); 178 182 // Sets a minimum size for the dot 179 thick = Math.max(thick, _MINIMUM_DOT_SIZE);183 thick = Math.max(thick, getGravity() * 2); 180 184 181 185 int x = getX() - thick / 2;
Note:
See TracChangeset
for help on using the changeset viewer.