Merge pull request #13953 from JakobMiksch/patch-1

Minor simplification
This commit is contained in:
Olivier Guyot
2022-08-08 16:01:08 +02:00
committed by GitHub

View File

@@ -249,7 +249,7 @@ function addInteraction() {
if (value !== 'None') {
drawInteraction = new Draw({
source: drawVector.getSource(),
type: typeSelect.value,
type: value,
});
drawInteraction.on('drawstart', () => {
drawing = true;