Fix fog undo disabling
This commit is contained in:
parent
337a769fe4
commit
7dac49f690
@ -174,7 +174,7 @@ function Map({
|
||||
disabledSettings.shape.push("redo");
|
||||
disabledSettings.erase.push("redo");
|
||||
}
|
||||
if (fogShapes.length === 0) {
|
||||
if (!mapState || mapState.fogDrawActionIndex < 0) {
|
||||
disabledSettings.fog.push("undo");
|
||||
}
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user