Fix panic when dragging text onto a window on Windws (#697) (#711)

* Fix panic when dragging text onto a window on Windws (#697)

* Changed `panic` to `debug` (log) when unknow error occurs in `GetData` while processing a drag-drop / hover event. Plus added appropriate cursor effect if hovered item can not be processed.

* Improved code clarity.

* Add documentation to clarify behaviour of `DroppedFile`, `HoveredFile`, and `HoveredFileCancelled`

* Add period at the end of sentences in documentation.
This commit is contained in:
Artúr Kovács 2018-11-20 09:28:26 +01:00 committed by Francesca Plebani
parent b049a4dc66
commit 04ca2cf9f4
3 changed files with 51 additions and 18 deletions

View file

@ -7,6 +7,7 @@
- On Windows, fix issue where resizing or moving window would eat `Awakened` events.
- On X11, fixed a segfault when using virtual monitors with XRandR.
- Derive `Ord` and `PartialOrd` for `VirtualKeyCode` enum.
- On Windows, fix issue where hovering or dropping a non file item would create a panic.
# Version 0.18.0 (2018-11-07)