Skip to content

Fix right to right snapping

Alexander Volkov requested to merge work/volkov/fix-snap-to-right into master

target.right() is calculated as target.x() + target.width() - 1, so 1 needs to be added to the x coordinate of a snapped rect.

This is done in snapToBottom(), but was forgotten in snapToRight(). Amend 6309d33f.

CCBUG: 455394

Merge request reports