Update default path color in BasicDrawing.
This commit is contained in:
parent
4b36838b26
commit
0102277821
@ -286,7 +286,7 @@ public class BasicDrawing extends JPanel implements Drawing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Default path color.
|
// 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.
|
// Default palette.
|
||||||
public static final GraphPalette DEFAULT_PALETTE = new BasicGraphPalette();
|
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
|
// Width and height of the image
|
||||||
private int width, height;
|
private int width, height;
|
||||||
|
|
||||||
|
// Zoom controls
|
||||||
|
private MapZoomControls zoomControls;
|
||||||
private ZoomAndPanListener zoomAndPanListener;
|
private ZoomAndPanListener zoomAndPanListener;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -312,9 +314,6 @@ public class BasicDrawing extends JPanel implements Drawing {
|
|||||||
// Mapping DrawingClickListener -> MouseEventListener
|
// Mapping DrawingClickListener -> MouseEventListener
|
||||||
private List<DrawingClickListener> drawingClickListeners = new ArrayList<>();
|
private List<DrawingClickListener> drawingClickListeners = new ArrayList<>();
|
||||||
|
|
||||||
// Zoom controls
|
|
||||||
private MapZoomControls zoomControls;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new BasicDrawing.
|
* Create a new BasicDrawing.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user