A convenient feature would be to only allow dropping files in a specific region in the window. As I understand it, this is currently not possible as the pointer position is None while hovering and right after dropping a file. Maybe this is a winit limitation though.
Describe the solution you'd like
Having access to the pointer position while hovering would be enough. Even nicer would be to store the hovered and dropped files in an area's response.
Describe alternatives you've considered
Keeping track of which files have been hovered right before releasing, but this involves keeping track of the information over multiple frames and quickly becomes messy.
A convenient feature would be to only allow dropping files in a specific region in the window. As I understand it, this is currently not possible as the pointer position is
None
while hovering and right after dropping a file. Maybe this is a winit limitation though.Describe the solution you'd like
Having access to the pointer position while hovering would be enough. Even nicer would be to store the hovered and dropped files in an area's response.
Describe alternatives you've considered
Keeping track of which files have been hovered right before releasing, but this involves keeping track of the information over multiple frames and quickly becomes messy.