7797: add snap-to-grid sample
Merge branch 'v_mouse' into v_dev