Closed sclown closed 4 years ago
DeepCode analyzed this pull request. There are no new issues.
Great fix, thanks!
Did you test how single-click resets selection? It's erratic. I'm sorry but I can only call this broken, the bug #212 is a lesser evil in comparison.
It's because of the selection on mouse move. I've added one more fix to select on the drag. But it has side effect - selection stays after drag attempt. There is a lot of workarounds, that can be solved with custom selection model.
https://github.com/VioletGiraffe/file-commander/issues/212 With separate selection we shouldn't change selection on mouse button without key-modifiers. (The same in Total Commander and Midnight Commander) With this approach it's hard to reset a selection. That's why I've added select/deselect all.