Files
qelectrotech-source-mirror/sources/diagram.cpp
Laurent Trinques 99064fe2ab Moving elements by mouse does not respect the grid settings
When moving element by mouse, snapping to grid uses fixed 10 px steps
hardcoded in source instead of using the value from grid settings. When
moved by keyboard, the grid step is respected.
It is due to QPointF Diagram::snapToGrid(const QPointF &p) function not
considering the settings.

Thanks jethro for this patch
2020-03-27 21:21:49 +01:00

57 KiB