Opened 8 years ago
Last modified 8 years ago
#4347 new enhancement
OMEdit: improve drawing of connections by correctly initiated x/y mode — at Initial Version
Reported by: | Jan Kokert | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | OMEdit | Version: | |
Keywords: | connection x/y mode initialization | Cc: |
Description
When a connection (e.g. from a resistor to a gnd) is drawn, OMEdit seems to have a default behavior that the first line is already fixed in vertical position and when clicking the first horizontal position is set by then forming a corner.
This is perfectly fine if the connectors of elements are oriented from left to right, which is the default orientation in MSL.
Users, of course, will turn e.g. resistors in a way, that the connectors are vertically aligned. Then the default line initialization orientation is a bit annoying.
I can imagine that it is a bit tricky for OMEdit (or the programmer :-P) to figure out, what the user actually mean. But what about the following:
When starting a connection (by clicking and dragging) the user will already (roughly) point in the right direction e.g. 10 pixels up and 3 pixels left). By figuring out that amount and checking which is the most dominant one, the initial connection X/Y mode could be initiated properly.
I really hope that this idea helps :D