angular-resizable-element
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.5.4"></a> | ||
## [0.5.4](https://github.com/mattlewis92/angular-resizable-element/compare/v0.5.3...v0.5.4) (2016-12-11) | ||
### Bug Fixes | ||
* **cursor:** reset the cursor instead of changing it to auto ([514851f](https://github.com/mattlewis92/angular-resizable-element/commit/514851f)) | ||
<a name="0.5.3"></a> | ||
@@ -7,0 +17,0 @@ ## [0.5.3](https://github.com/mattlewis92/angular-resizable-element/compare/v0.5.2...v0.5.3) (2016-11-19) |
@@ -96,3 +96,3 @@ import { Directive, HostListener, Renderer, ElementRef, Output, Input, EventEmitter, ContentChildren } from '@angular/core'; | ||
else { | ||
return 'auto'; | ||
return null; | ||
} | ||
@@ -235,3 +235,3 @@ }; | ||
var resizeEdges = getResizeEdges({ mouseX: mouseX, mouseY: mouseY, elm: _this.elm, allowedEdges: _this.resizeEdges }); | ||
var cursor = currentResize ? 'auto' : getResizeCursor(resizeEdges); | ||
var cursor = currentResize ? null : getResizeCursor(resizeEdges); | ||
_this.renderer.setElementStyle(_this.elm.nativeElement, 'cursor', cursor); | ||
@@ -238,0 +238,0 @@ }); |
@@ -210,3 +210,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
else { | ||
return 'auto'; | ||
return null; | ||
} | ||
@@ -366,3 +366,3 @@ }; | ||
var resizeEdges = getResizeEdges({ mouseX: mouseX, mouseY: mouseY, elm: _this.elm, allowedEdges: _this.resizeEdges }); | ||
var cursor = currentResize ? 'auto' : getResizeCursor(resizeEdges); | ||
var cursor = currentResize ? null : getResizeCursor(resizeEdges); | ||
_this.renderer.setElementStyle(_this.elm.nativeElement, 'cursor', cursor); | ||
@@ -369,0 +369,0 @@ }); |
{ | ||
"name": "angular-resizable-element", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "An angular 2.0+ directive that allows an element to be dragged and resized", | ||
@@ -5,0 +5,0 @@ "main": "./dist/umd/angular-resizable-element.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139661