fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
3.97k stars 826 forks source link

A sch wire does not snap to grid for existing wires #4091

Closed failiz closed 8 months ago

failiz commented 9 months ago

Current Behaviour

Prepare this circuit and try to snap the sch wire to the bendpoint between the resistors: image image image

After the connection, the bendpoint moves out of the grid.

This is related to the https://github.com/fritzing/fritzing-app/issues/3738 and https://github.com/fritzing/fritzing-app/issues/3602 Note that if the wire is created, then the bug does not happen

Build: Fritzing 1.01, Windows

Expected Behaviour

The bendpoint remains on the grid

KjellMorgenstern commented 9 months ago

Found a fix, looks like we can even still add this to 1.0.2. Problem was similar to the other mentioned issues ("from" and "to" need to be swapped) , but a different place in the code.