[Editor] Avoid to update default params too early
This commit is contained in:
parent
1865bb6526
commit
e91d67563f
@ -658,6 +658,10 @@ class AnnotationEditorUIManager {
|
|||||||
* @param {*} value
|
* @param {*} value
|
||||||
*/
|
*/
|
||||||
updateParams(type, value) {
|
updateParams(type, value) {
|
||||||
|
if (!this.#editorTypes) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
for (const editor of this.#selectedEditors) {
|
for (const editor of this.#selectedEditors) {
|
||||||
editor.updateParams(type, value);
|
editor.updateParams(type, value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user