DescriptionHandle the case when the last selection is not set yet.
When a user starts to drag an item before they haven't selected any item yet,
FileTable.lastSelection_ can be undefined and this ends up an incorrect drag image.
The existence of lastSelection_ should be checked.
BUG=409514
TEST=manually
Committed: https://crrev.com/60a533c07f2e01cb06e17d829a7972fa9a1b2984
Cr-Commit-Position: refs/heads/master@{#292845}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|