Przeglądaj źródła

Minor improvement.

Oskar Wróbel 7 lat temu
rodzic
commit
eb0be4b555
1 zmienionych plików z 1 dodań i 1 usunięć
  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() );
 	}
 
 	/**