Browse Source

Internal: removed unused context properties.

Marek Lewandowski 6 years ago
parent
commit
59cc9452fd
1 changed files with 0 additions and 11 deletions
  1. 0 11
      packages/ckeditor5-widget/src/resizecontext.js

+ 0 - 11
packages/ckeditor5-widget/src/resizecontext.js

@@ -68,17 +68,6 @@ export default class ResizeContext {
 		this.options = options || {};
 
 		// @todo: ---- options below seems like a little outside of a scope of a single context ----
-		// Size before resizing.
-		this.initialSize = {
-			x: 0,
-			y: 0
-		};
-
-		// Position of a clicked resize handler in x and y axes.
-		this.direction = {
-			y: 'top',
-			x: 'left'
-		};
 
 		// Reference point of resizer where the dragging started. It is used to measure the distance to user cursor
 		// traveled, thus how much the image should be enlarged.