Skip to content

Commit

Permalink
fix(outputs): make outputs sync to prevent ui flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Jun 6, 2016
1 parent 9a6f10f commit 032ea5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/resizable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ const getNewBoundingRectangle: Function =
})
export class Resizable implements OnInit {

@Output() onResizeStart: EventEmitter<Object> = new EventEmitter();
@Output() onResize: EventEmitter<Object> = new EventEmitter();
@Output() onResizeEnd: EventEmitter<Object> = new EventEmitter();
@Output() onResizeStart: EventEmitter<Object> = new EventEmitter(false);
@Output() onResize: EventEmitter<Object> = new EventEmitter(false);
@Output() onResizeEnd: EventEmitter<Object> = new EventEmitter(false);

private mouseup: Subject<any> = new Subject();
private mousedown: Subject<any> = new Subject();
Expand Down

0 comments on commit 032ea5a

Please sign in to comment.