Changeset 7025 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
- Timestamp:
- 2014-04-29T03:24:57+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
r6909 r7025 99 99 switch (type) { 100 100 case NORMAL: 101 { 102 Float widthOnDefault = getWidth(c_def, WIDTH, null); 103 width = getWidth(c, WIDTH, widthOnDefault); 104 break; 105 } 101 width = getWidth(c, WIDTH, getWidth(c_def, WIDTH, null)); 102 break; 106 103 case CASING: 107 {108 104 Float casingWidth = c.get(type.prefix + WIDTH, null, Float.class, true); 109 105 if (casingWidth == null) { … … 115 111 if (casingWidth == null) 116 112 return null; 117 Float widthOnDefault = getWidth(c_def, WIDTH, null); 118 width = getWidth(c, WIDTH, widthOnDefault); 113 width = getWidth(c, WIDTH, getWidth(c_def, WIDTH, null)); 119 114 if (width == null) { 120 115 width = 0f; … … 122 117 width += 2 * casingWidth; 123 118 break; 124 }125 119 case LEFT_CASING: 126 120 case RIGHT_CASING:
Note:
See TracChangeset
for help on using the changeset viewer.