Make snapping to dimension more flexible.

Change-Id: I85cf776f7f3ced8813a98346faebc6802b6ef674
4 files changed