View Revisions: Issue #187

Summary 0000187: Moving elements by mouse does not respect the grid settings - fix included
Revision 2020-03-27 10:49 by jethro
Description When moving element by mouse, snapping to grid uses fixed 10 px steps hardcoded in source instead of using the value from 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.
Revision 2020-03-27 10:49 by jethro
Description When moving element by mouse, snapping to grid uses fixed 10 px steps hardcoded in source instead of using the value from settings. When moved by keyboard, the grid step is respected.
It is due to
[code=c++] QPointF Diagram::snapToGrid(const QPointF &p) [/code]
function not considering the settings.
Revision 2020-03-27 10:48 by jethro
Description When moving element by mouse, snapping to grid uses fixed 10 px steps hardcoded in source instead of using the value from settings. When moved by keyboard, the grid step is respected.
It is due to [code=c++] QPointF Diagram::snapToGrid(const QPointF &p)[/code] function not considering the settings.