소스 검색

Minor improvement.

Oskar Wróbel 7 년 전
부모
커밋
eb0be4b555
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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() );
 	}
 
 	/**