Skip to content

Commit 3dc3de3

Browse files
authored
Color (#367)
- Fallback color corrected (if property file is corrupt)
1 parent 1c05ad5 commit 3dc3de3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

JAG3D/src/org/applied_geodesy/jag3d/ui/graphic/layer/AbsoluteConfidenceLayer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ public class AbsoluteConfidenceLayer extends ConfidenceLayer<PointLayer> {
4646
try {
4747
fillColor = Color.web(PROPERTIES.getProperty("ABSOLUTE_CONFIDENCE_FILL_COLOR", "#cccccc"));
4848
} catch (Exception e) {
49-
fillColor = Color.web("#999999");
49+
fillColor = Color.web("#cccccc");
5050
}
5151

5252
try {
5353
strokeColor = Color.web(PROPERTIES.getProperty("ABSOLUTE_CONFIDENCE_STROKE_COLOR", "#000000"));
5454
} catch (Exception e) {
55-
strokeColor = Color.web("#e6e6e6");
55+
strokeColor = Color.web("#000000");
5656
}
5757

5858
try { visible = PROPERTIES.getProperty("ABSOLUTE_CONFIDENCE_VISIBLE").equalsIgnoreCase("TRUE"); } catch (Exception e) {}

JAG3D/src/org/applied_geodesy/jag3d/ui/graphic/layer/PointShiftArrowLayer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class PointShiftArrowLayer extends ArrowLayer {
7070
try {
7171
color = Color.web(PROPERTIES.getProperty("POINT_SHIFT_VERTICAL_ARROW_COLOR", "#ffaf00"));
7272
} catch (Exception e) {
73-
color = Color.web("#ff8c00");
73+
color = Color.web("#ffaf00");
7474
}
7575

7676
try {

JAG3D/src/org/applied_geodesy/jag3d/ui/graphic/layer/RelativeConfidenceLayer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class RelativeConfidenceLayer extends ConfidenceLayer<PointShiftArrowLaye
5050
try {
5151
strokeColor = Color.web(PROPERTIES.getProperty("RELATIVE_CONFIDENCE_STROKE_COLOR", "#000000"));
5252
} catch (Exception e) {
53-
strokeColor = Color.web("#999999");
53+
strokeColor = Color.web("#000000");
5454
}
5555

5656
try { visible = PROPERTIES.getProperty("RELATIVE_CONFIDENCE_VISIBLE").equalsIgnoreCase("TRUE"); } catch (Exception e) {}

0 commit comments

Comments
 (0)