Skip to content

Commit

Permalink
fix(onResizeStart): ensure the starting rectangle is a POJO rather th…
Browse files Browse the repository at this point in the history
…an a bounding rectangle
  • Loading branch information
Matt Lewis committed Jun 14, 2016
1 parent 24b5934 commit 81fe0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resizable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export class Resizable implements OnInit {
this.renderer.setElementStyle(this.elm.nativeElement, 'user-drag', 'none');
this.onResizeStart.emit({
edges,
rectangle: startingRect
rectangle: getNewBoundingRectangle(startingRect, {}, 0, 0)
});
}
});
Expand Down

0 comments on commit 81fe0b4

Please sign in to comment.