Opening an older file with a board no longer warns about an unknown 'drawCoordinates' property

This commit is contained in:
Bane Stojkovic
2026-11-11 18:33:20 +01:00
parent 2e6354883f
commit 0d7e60b5a4
@@ -69,6 +69,10 @@ public abstract class AbstractBoard extends AbstractTransparentComponent<String>
protected Color boardColor = PHENOLIC_COLOR; protected Color boardColor = PHENOLIC_COLOR;
protected Color borderColor = BORDER_COLOR; protected Color borderColor = BORDER_COLOR;
protected Color coordinateColor = COORDINATE_COLOR; protected Color coordinateColor = COORDINATE_COLOR;
// superseded by coordinateDisplay long ago and no longer read, but kept so that files which
// still carry it load without an unknown-property warning
@Deprecated
protected Boolean drawCoordinates = null;
protected CoordinateType xType = CoordinateType.Numbers; protected CoordinateType xType = CoordinateType.Numbers;
protected CoordinateOrigin coordinateOrigin = CoordinateOrigin.Top_Left; protected CoordinateOrigin coordinateOrigin = CoordinateOrigin.Top_Left;
protected CoordinateDisplay coordinateDisplay = CoordinateDisplay.One_Side; protected CoordinateDisplay coordinateDisplay = CoordinateDisplay.One_Side;