Mentions légales du service

Skip to content

Fix double click getting wrong container

ORDRONNEAU Camille requested to merge cordronn/vite:fix/click-precision into master

Fix a bug where if the user double clicked on a container it would give the information of a container above it. This was due to container checking not taking into account for empty containers that are a bit smaller which created a shift. This shift was proportional to the number of empty containers that were above where the user clicked. The shift was around 0.2 render units, so 14% of a container height for each empty containers.

This bug was introduced in commit 7889c609

Merge request reports