Skip to content
Commit 6faf4d6b authored by Alexander Volkov's avatar Alexander Volkov
Browse files

Fix right to right snapping

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
parent 11fe0f89
Loading
Loading
Loading
Pipeline #265307 passed with stage
in 2 minutes and 45 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment