Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This is subtle. Consider the steps: - Dragging from a valid rev (ex. 3) to an invalid rev (ex. 2). The "Diff chunk can only be ..." hint shows up as expected. Current `selectedRev` still points to the valid one (3). - Drag back to the valid rev 3. The old logic only updates the hint when `rev !== selectedRev`. So it will skip updating, and the hint stays. However, the hint show disapper because the current hovering rev is valid. This diff fixes the issue by always updating the hint on drag. Reviewed By: muirdm Differential Revision: D67993253 fbshipit-source-id: 9ea768a0199f26cac359ce63a67ff8d8dabb0468
- Loading branch information