Selection boxes we draw shouldn't affect icons so easily, icons should have little hitboxes.
Affected version
- Nightly flatpak: Can't test it because not enough disk space
- Other: EndeavourOS (ArchLinux)
Steps to reproduce
- Just select with the mouse some icons like how big armies are selected in strategy games.
Current behavior
If just one pixel of the box you're drawing with the mouse is touching the big "hitbox" of an icon this one will be selected.
Expected behavior
We should have some room for this, if the box i'm drawing is not touching the icon itself or the text the item shouldn't be selected at all.