Avoid drawing when conflicts existed

Curse you regression!
This commit is contained in:
Hans5958 2022-05-09 22:29:10 +07:00
parent e1e9539371
commit dcc09809e6

View file

@ -1052,6 +1052,10 @@ function updateErrors() {
else periodGroupEl.dataset.status = "" else periodGroupEl.dataset.status = ""
}) })
} }
if (Object.keys(conflicts).length === 0) drawing = true
else drawing = false
} }
function getConflicts() { function getConflicts() {