Skip to content
Commit 1de13cc3 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

Followup to commit 0ff63e4f improvements in AssociationWidget :

umbrello/umlwidgets/associationwidget.cpp
- In function findInterceptOnEdge implement TODO note "try replacing by
  intersect()"; to be precise, use the Qt5 QLineF function intersects().
- In function updateAssociations foreach-loop over list,
  - continue to next iteration if (assocwidget == this);
  - add local Uml::Region::Enum regionAdjustedToRole = region;
  - if startsAtOther is true then flip regionAdjustedToRole such that
    North becomes South, West becomes East and vice versa;
  - on calling findInterceptOnEdge() use regionAdjustedToRole in lieu of
    region.
parent 0ff63e4f
Pipeline #117417 passed with stage
in 16 minutes and 35 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment