Skip to content

Commit

Permalink
fix: keep cursor while resizing
Browse files Browse the repository at this point in the history
Fixes #33
  • Loading branch information
Alberto Fernández authored and mattlewis92 committed Jan 11, 2017
1 parent 75ce122 commit 93a5c4e
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 @@ -443,7 +443,7 @@ export class Resizable implements OnInit, OnDestroy, AfterViewInit {
this.renderer.setElementStyle(currentResize.clonedNode, 'top', `${currentResize.startingRect.top}px`);
this.renderer.setElementStyle(currentResize.clonedNode, 'height', `${currentResize.startingRect.height}px`);
this.renderer.setElementStyle(currentResize.clonedNode, 'width', `${currentResize.startingRect.width}px`);
this.renderer.setElementStyle(currentResize.clonedNode, 'cursor', 'auto');
this.renderer.setElementStyle(currentResize.clonedNode, 'cursor', getResizeCursor(currentResize.edges));
}
this.resizeStart.emit({
edges: getEdgesDiff({edges, initialRectangle: startingRect, newRectangle: startingRect}),
Expand Down

0 comments on commit 93a5c4e

Please sign in to comment.