Przeglądaj źródła

Internal: changed the default resize type.

Marek Lewandowski 6 lat temu
rodzic
commit
9fa4436f16
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      packages/ckeditor5-widget/src/resizecontext.js

+ 2 - 2
packages/ckeditor5-widget/src/resizecontext.js

@@ -1,5 +1,5 @@
 import View from '@ckeditor/ckeditor5-ui/src/view';
-import ResizerCentral from './resizercentral';
+import ResizerTopBound from './resizertopbound';
 import { getAbsoluteBoundaryPoint } from './utils';
 import Template from '@ckeditor/ckeditor5-ui/src/template';
 
@@ -26,7 +26,7 @@ export default class ResizeContext {
 		// view/Element
 		this.widgetWrapperElement = null;
 
-		this.resizeStrategy = new ResizerCentral( this, options );
+		this.resizeStrategy = new ResizerTopBound( this, options );
 
 		/**
 		 * Container of entire resize UI.