Explorar o código

Minor improvement.

Oskar Wróbel %!s(int64=7) %!d(string=hai) anos
pai
achega
eb0be4b555
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-core/src/editor/editorui.js

+ 1 - 1
packages/ckeditor5-core/src/editor/editorui.js

@@ -70,7 +70,7 @@ export default class EditorUI {
 		this._throttledUpdate = throttle( () => this.fire( 'update' ), 200 );
 
 		// Informs UI components that should be refreshed after layout change.
-		this.listenTo( editor.editing.view.document, 'layoutChanged', () => this._throttledUpdate() );
+		this.listenTo( editor.editing.view.document, 'layoutChanged', () => this.update() );
 	}
 
 	/**