Update default path color in BasicDrawing.
This commit is contained in:
parent
4b36838b26
commit
0102277821
1 changed files with 4 additions and 5 deletions
|
@ -286,7 +286,7 @@ public class BasicDrawing extends JPanel implements Drawing {
|
|||
}
|
||||
|
||||
// Default path color.
|
||||
public static final Color DEFAULT_PATH_COLOR = new Color(255, 0, 255);
|
||||
public static final Color DEFAULT_PATH_COLOR = new Color(66, 134, 244);
|
||||
|
||||
// Default palette.
|
||||
public static final GraphPalette DEFAULT_PALETTE = new BasicGraphPalette();
|
||||
|
@ -299,6 +299,8 @@ public class BasicDrawing extends JPanel implements Drawing {
|
|||
// Width and height of the image
|
||||
private int width, height;
|
||||
|
||||
// Zoom controls
|
||||
private MapZoomControls zoomControls;
|
||||
private ZoomAndPanListener zoomAndPanListener;
|
||||
|
||||
//
|
||||
|
@ -312,9 +314,6 @@ public class BasicDrawing extends JPanel implements Drawing {
|
|||
// Mapping DrawingClickListener -> MouseEventListener
|
||||
private List<DrawingClickListener> drawingClickListeners = new ArrayList<>();
|
||||
|
||||
// Zoom controls
|
||||
private MapZoomControls zoomControls;
|
||||
|
||||
/**
|
||||
* Create a new BasicDrawing.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue