Change map state drawShapes and fogShapes name

This commit is contained in:
Mitchell McCaffrey
2021-08-06 08:21:19 +10:00
parent d1e62e850a
commit b300418d78
10 changed files with 52 additions and 28 deletions

View File

@@ -113,7 +113,7 @@ function MapContols({
const disabledSettings: Partial<Record<keyof Settings, string[]>> = {
drawing: [],
};
if (mapState && isEmpty(mapState.drawShapes)) {
if (mapState && isEmpty(mapState.drawings)) {
disabledSettings.drawing?.push("erase");
}