mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Conductor : extend terminal return a point snapped to the diagram grid
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3604 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -414,7 +414,7 @@ QPointF Conductor::extendTerminal(const QPointF &terminal, Qet::Orientation term
|
|||||||
break;
|
break;
|
||||||
default: extended_terminal = terminal;
|
default: extended_terminal = terminal;
|
||||||
}
|
}
|
||||||
return(extended_terminal);
|
return(Diagram::snapToGrid(extended_terminal));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user