biolab / orange-canvas-core

Orange Canvas core workflow editor
GNU General Public License v3.0
36 stars 62 forks source link

[FIX] interactions: Reset open anchors when finishing a new link drag #272

Closed ales-erjavec closed 1 year ago

ales-erjavec commented 1 year ago

Issue

When Shift dragging a new connection from an expanded channel anchor the anchor does not reset on completion.

I.e. Shift drag a new connection from a 'Data Table' widget to another. Observe that the channel anchors remain expanded on competion and needs to be hovered again to reset.

Changes

Reset open anchors when finishing a new link drag

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 50.00% and project coverage change: -0.01 :warning:

Comparison is base (ee765db) 75.06% compared to head (006395b) 75.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #272 +/- ## ========================================== - Coverage 75.06% 75.06% -0.01% ========================================== Files 97 97 Lines 20766 20767 +1 ========================================== Hits 15588 15588 - Misses 5178 5179 +1 ``` | [Impacted Files](https://app.codecov.io/gh/biolab/orange-canvas-core/pull/272?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab) | Coverage Δ | | |---|---|---| | [orangecanvas/document/interactions.py](https://app.codecov.io/gh/biolab/orange-canvas-core/pull/272?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY2FudmFzL2RvY3VtZW50L2ludGVyYWN0aW9ucy5weQ==) | `41.72% <0.00%> (-0.04%)` | :arrow_down: | | [orangecanvas/document/schemeedit.py](https://app.codecov.io/gh/biolab/orange-canvas-core/pull/272?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY2FudmFzL2RvY3VtZW50L3NjaGVtZWVkaXQucHk=) | `76.69% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.