Explorar el Código

Used pin() method instead of outdated keepAttachedTo().

Oskar Wróbel hace 8 años
padre
commit
ef5f3b8ce3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-ui/src/contextualballoon.js

+ 1 - 1
packages/ckeditor5-ui/src/contextualballoon.js

@@ -167,7 +167,7 @@ export default class ContextualBalloon extends Plugin {
 	 */
 	_show( view ) {
 		this.view.content.add( view );
-		this.view.keepAttachedTo( this._getBalloonPosition() );
+		this.view.pin( this._getBalloonPosition() );
 	}
 
 	/**