gef-classic icon indicating copy to clipboard operation
gef-classic copied to clipboard

Fix PrecisionRectangle#getBottom inconsistency

Open akoch-yatta opened this issue 1 month ago • 0 comments

The y value of PrecisionRectangle#getBottom can return a different y value to PrecisionRectangle#getBottomLeft and PrecisionRectangle#getBottomRight because the first uses the int values the later two use precision values. This commit adapt PrecisionRectangle#getBottom to use the precision values as well.

Similar applies at least to getLeft (only regarding the center y coord) and getRight, as both are not overwritten in PrecisionRectangle, but I did not touch them for this PR.

akoch-yatta avatar Nov 20 '25 14:11 akoch-yatta