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 (cherry picked from commit 6faf4d6b)
parent
2ed8d20b
Loading
Loading
Pipeline
#265311
passed
with stage
in
2 minutes and 19 seconds
Loading
Please register or sign in to comment