Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] figure: add snap to figure drag & drop
With this commit, when moving/resizing a figure with the mouse the figure will try to snap to other visible figures. This make it easy to align figures together. This is done in `figure.ts`. Where we added helpers to first drag the figure, then helpers to snap the dragged figure. "Snap lines" will be displayed to the user to visually see where the snap is happening. Odoo task 2907730 closes #1737 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
- Loading branch information