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 @@ -416,11 +416,11 @@ export default class Item extends Component {
416
416
this . cacheDataFromProps ( this . props )
417
417
418
418
let { interactMounted } = this . state
419
- const couldDrag = this . props . selected && this . canMove ( this . props )
419
+ const couldDrag = prevProps . selected && this . canMove ( prevProps )
420
420
const couldResizeLeft =
421
- this . props . selected && this . canResizeLeft ( this . props )
421
+ prevProps . selected && this . canResizeLeft ( prevProps )
422
422
const couldResizeRight =
423
- this . props . selected && this . canResizeRight ( this . props )
423
+ prevProps . selected && this . canResizeRight ( prevProps )
424
424
const willBeAbleToDrag = this . props . selected && this . canMove ( this . props )
425
425
const willBeAbleToResizeLeft =
426
426
this . props . selected && this . canResizeLeft ( this . props )
You can’t perform that action at this time.
0 commit comments