Commit 675c4d5 Xie, Ziyu
committed
1 parent e189d26 commit 675c4d5 Copy full SHA for 675c4d5
File tree 5 files changed +16
-3
lines changed
projects/angular2-draggable
5 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ angular2-draggable has angular directives that make the DOM element draggable an
28
28
29
29
# Latest Update
30
30
31
+ + 2018.10.26: 2.1.6
32
+ + ** ngResizable** : fix [ issue #115 ] ( https://github.com/xieziyu/angular2-draggable/issues/115 ) : rzResizing IE event issue
33
+
31
34
+ 2018.10.15: 2.1.5
32
35
+ ** ngDraggable** : fix [ issue #114 ] ( https://github.com/xieziyu/angular2-draggable/issues/114 ) : EndOffset event not working properly with SnapToGrid
33
36
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular2-draggable" ,
3
- "version" : " 2.1.5 " ,
3
+ "version" : " 2.1.6 " ,
4
4
"author" : " Xie, Ziyu" ,
5
5
"license" : " MIT" ,
6
6
"keywords" : [
Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ export class Position implements IPosition {
24
24
if ( window ) {
25
25
const computed = window . getComputedStyle ( el ) ;
26
26
if ( computed ) {
27
- pos . x = parseInt ( computed . getPropertyValue ( 'left' ) , 10 ) ;
28
- pos . y = parseInt ( computed . getPropertyValue ( 'top' ) , 10 ) ;
27
+ let x = parseInt ( computed . getPropertyValue ( 'left' ) , 10 ) ;
28
+ let y = parseInt ( computed . getPropertyValue ( 'top' ) , 10 ) ;
29
+ pos . x = isNaN ( x ) ? 0 : x ;
30
+ pos . y = isNaN ( y ) ? 0 : y ;
29
31
}
30
32
return pos ;
31
33
} else {
Original file line number Diff line number Diff line change
1
+ ## 2.1.6 (2018-10-26)
2
+
3
+ #### Bugfix
4
+ + ** ngResizable** : rzResizing IE event issue. [ #115 ] ( https://github.com/xieziyu/angular2-draggable/issues/115 )
5
+
6
+ ---
7
+
1
8
## 2.1.5 (2018-10-15)
2
9
3
10
#### Bugfix
Original file line number Diff line number Diff line change 4
4
background-color : $white ;
5
5
border : solid 1px $gray-400 ;
6
6
padding : 0.5em ;
7
+ box-sizing : content-box ;
7
8
}
8
9
9
10
.widget-header {
You can’t perform that action at this time.
0 commit comments