Fix getAvailableWidthsTwoLines when overlapping on the right
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Eric NGUYEN 2022-08-12 16:27:06 +02:00
parent 5d3d6240b3
commit 24683a7b58

View file

@ -281,7 +281,7 @@ function getAvailableWidthsTwoLines(
// object 2 is partially overlapping on the right
return [
{
x: rectLeft,
x: unalloctedSpaceLeft,
width: rectRight - unalloctedSpaceLeft
}
];