File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export default class Deck extends Component {
29
29
autoplayOnStart : PropTypes . bool ,
30
30
children : PropTypes . node ,
31
31
controls : PropTypes . bool ,
32
+ disableKeyboardControls : PropTypes . bool ,
32
33
globalStyles : PropTypes . bool ,
33
34
history : PropTypes . object ,
34
35
onStateChange : PropTypes . func ,
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export default class MagicText extends Component {
145
145
}
146
146
if ( this . diffs . updated ) {
147
147
Object . keys ( this . diffs . updated ) . forEach ( m => {
148
- const props = {
148
+ const properties = {
149
149
...( this . diffs . added [ m ] || { } ) ,
150
150
...( this . diffs . updated [ m ] || { } )
151
151
} ;
@@ -155,8 +155,8 @@ export default class MagicText extends Component {
155
155
if ( last ) {
156
156
const start = { } ;
157
157
const end = { } ;
158
- const xdiff = props . x - last . x || 0 ;
159
- const ydiff = props . y - last . y || 0 ;
158
+ const xdiff = properties . x - last . x || 0 ;
159
+ const ydiff = properties . y - last . y || 0 ;
160
160
start . transform = `translate(${ xdiff * - 1 } px, ${ ydiff * - 1 } px)` ;
161
161
end . transform = 'translate(0, 0)' ;
162
162
const el = document . querySelector ( `[data-key='${ m } ']` ) ;
You can’t perform that action at this time.
0 commit comments