[Editor] Avoid to update default params too early

This commit is contained in:
Calixte Denizet 2022-08-31 10:28:47 +02:00
parent 1865bb6526
commit e91d67563f

View File

@ -658,6 +658,10 @@ class AnnotationEditorUIManager {
* @param {*} value
*/
updateParams(type, value) {
if (!this.#editorTypes) {
return;
}
for (const editor of this.#selectedEditors) {
editor.updateParams(type, value);
}