File tree Expand file tree Collapse file tree 5 files changed +16
-3
lines changed
projects/angular2-draggable Expand file tree Collapse file tree 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
2828
2929# Latest Update
3030
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+
3134+ 2018.10.15: 2.1.5
3235 + ** ngDraggable** : fix [ issue #114 ] ( https://github.com/xieziyu/angular2-draggable/issues/114 ) : EndOffset event not working properly with SnapToGrid
3336
Original file line number Diff line number Diff line change 11{
22 "name" : " angular2-draggable" ,
3- "version" : " 2.1.5 " ,
3+ "version" : " 2.1.6 " ,
44 "author" : " Xie, Ziyu" ,
55 "license" : " MIT" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ export class Position implements IPosition {
2424 if ( window ) {
2525 const computed = window . getComputedStyle ( el ) ;
2626 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 ;
2931 }
3032 return pos ;
3133 } 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+
18## 2.1.5 (2018-10-15)
29
310#### Bugfix
Original file line number Diff line number Diff line change 44 background-color : $white ;
55 border : solid 1px $gray-400 ;
66 padding : 0.5em ;
7+ box-sizing : content-box ;
78}
89
910.widget-header {
You can’t perform that action at this time.
0 commit comments