joshua 1607c7f5dc Minor : improve behavior when rotate terminal part.
iIn the element editor, every rotation is made around the center of the
scene, this is usefull when rotate several part but less when only one
need to be rotated, especially when it is the terminal part and we only
want to change the orientation.
This commit solve it. Now when only a terminal part is selected, the
terminal don't rotate around the center of the scene but change the
orientation.

The rotation, flip and mirror of parts are good features but always
rotate around the center of the scene and if the parts are far from the
center of the scene the behavior look inappropriate from the POV of user
(because parts move far from original position and can out of the view).
A good new features should be to solve it (rotate around the center of
the bounding rect of the selection) and probably extract the function
rotate/flip/mirror from the parts class and create a new class with for
only goal to calculate and apply these modifiaction trough an undo
command.
2025-07-15 22:47:33 +02:00
..
2025-01-04 13:37:40 +01:00
2025-03-28 20:16:37 +01:00
2025-03-06 08:07:49 +01:00
2025-02-14 16:17:58 +01:00
2025-01-04 13:37:40 +01:00
2025-01-04 13:37:40 +01:00
2025-01-04 13:37:40 +01:00
2025-01-04 13:37:40 +01:00
2025-01-04 13:37:40 +01:00
2025-01-04 13:37:40 +01:00