• Zafar, Adnan F's avatar
    Several usability improvements for dotty: · 7fee4459
    Zafar, Adnan F authored
    1) Center the node's bounding box on the nodes position (in the global coordinate system) based on it's size while being moved. This solves the issue of being unable to click-and-drag a node after it was initially dragged, since the bounding box erroneously remained at the initial position.
    
    2) Keep the relative position offset between the center of the node and the position of the cursor when clicking-and-dragging. This avoid snapping the center of the node to the current cursor position, but rather allows it to move with the cursor.
    
    3) Redraw the graph on 'leftup' to correct nodes that may have become visually corrupted by edges obscuring their outlines.
    7fee4459
Name
Last commit
Last update
..
mswin32 Loading commit data...
Makefile.am Loading commit data...
dotty.1 Loading commit data...
dotty.bsh Loading commit data...
dotty.ksh Loading commit data...
dotty.lefty Loading commit data...
dotty.sh Loading commit data...
dotty.vcxproj Loading commit data...
dotty.vcxproj.filters Loading commit data...
dotty_draw.lefty Loading commit data...
dotty_edit.lefty Loading commit data...
dotty_layout.lefty Loading commit data...
dotty_ui.lefty Loading commit data...
notes Loading commit data...