Merge pull request #15369 from calixteman/update_params
[Editor] Avoid to update default params too early
This commit is contained in:
		
						commit
						54d3b64497
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user