File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 323
323
if ( this . _translateX === undefined ) { this . _translateX = 0 ; }
324
324
if ( this . _translateY === undefined ) { this . _translateY = 0 ; }
325
325
326
- if ( x !== null ) { this . _translateX = unit ( x , 'px' ) ; }
327
- if ( y !== null ) { this . _translateY = unit ( y , 'px' ) ; }
326
+ if ( x !== null && x !== undefined ) { this . _translateX = unit ( x , 'px' ) ; }
327
+ if ( y !== null && y !== undefined ) { this . _translateY = unit ( y , 'px' ) ; }
328
328
329
329
this . translate = this . _translateX + "," + this . _translateY ;
330
330
}
418
418
419
419
$ . each ( props , function ( key ) {
420
420
key = $ . camelCase ( key ) ; // Convert "text-align" => "textAlign"
421
- key = $ . transit . propertyMap [ key ] || key ;
421
+ key = $ . transit . propertyMap [ key ] || $ . cssProps [ key ] || key ;
422
422
key = uncamel ( key ) ; // Convert back to dasherized
423 423
424
424
if ( $ . inArray ( key , re ) === - 1 ) { re . push ( key ) ; }
You can’t perform that action at this time.
0 commit comments