Age | Commit message (Collapse) | Author |
|
|
|
If you've carefully hand-positioned various nodes on a diagram relative
to each other, and then want to move the whole thing around, you
generally don't want to change their position relative to each other.
So we only snap the node being dragged to the grid. Everything else in
the selection maintains its position relative to that node.
|
|
It turns out the selection box, rather than being properly set to the
zero rectangle, was being set to the value of an uninitialised NSRect
created on the stack. This never caused any issues for me before,
because my system compiles things with _FORTIFY_SOURCE by default, which
zeros new variables. It was only when I (indirectly) disabled this for
debugging in gdb that I started getting selection boxes appearing in odd
places.
|
|
|
|
Selecting edges and/or nodes and pressing shift-d will print info about
them to the console.
|
|
Now when the graph has focus, shift+n will choose node selection,
shift+e edge selection and shift+b both.
|
|
It's unnecessary and a waste of space. Use bolded titles instead.
|
|
Drag-select can now select nodes, edges or both.
|
|
Before, the selection was discarded even when another window grabbed the
tool.
|
|
Just allows selecting tools, so far - no tool configuration.
|
|
|