Explorar o código

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

Oskar Wróbel %!s(int64=8) %!d(string=hai) anos
pai
achega
ef5f3b8ce3
Modificáronse 1 ficheiros con 1 adicións e 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() );
 	}
 
 	/**