Merge pull request #15369 from calixteman/update_params

[Editor] Avoid to update default params too early
This commit is contained in:
calixteman 2022-08-31 11:18:08 +02:00 committed by GitHub
commit 54d3b64497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}