Merge lp:~inkscape+alexander/inkscape/angle into lp:~inkscape.dev/inkscape/trunk
Proposed by
Alexander Brock
Status: | Merged |
---|---|
Merged at revision: | 14213 |
Proposed branch: | lp:~inkscape+alexander/inkscape/angle |
Merge into: | lp:~inkscape.dev/inkscape/trunk |
Diff against target: |
32 lines (+19/-3) 1 file modified
src/ui/tools/node-tool.cpp (+19/-3) |
To merge this branch: | bzr merge lp:~inkscape+alexander/inkscape/angle |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Krzysztof Kosinski | Approve | ||
Review via email:
|
Description of the change
When selecting exactly two nodes the status line shows the angle relative to the x-axis, e.g.:
"2 of 65 nodes selected, angle: 65.09°."
To post a comment you must log in.
It would be nice if the angle calculation were split out into the more core of the code. Having it all here in the text generation for the node tool makes it a little more inflexible if we ever choose to make the selected nodes do something with the angle (for instance align, or display the angle on the screen and etc)
Can you move the core of the calculation out?