Book a Demo

Author Topic: Change hit-test algorithm (problem with boundaries  (Read 5261 times)

ola_strandberg

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Change hit-test algorithm (problem with boundaries
« on: October 17, 2003, 02:53:03 am »
When adding iterations (i.e. stereotyped boundaries) onto sequence diagrams, it is almost impossible to move or resize them since the hit-testing algorithm seems to always pick up the objects behind.
You can select it alright, but as soon as you want to "click-and-drag", it picks up the object instead.
I hate to say it, but Visio has a decent implementation of hit-testing when there are multiple "matches" for a coordinate. It will cycle through the objects as you click several times in the same place.

Cheers,
Ola

Fintan

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Change hit-test algorithm (problem with bounda
« Reply #1 on: October 20, 2003, 08:10:14 am »
Quote
When adding iterations (i.e. stereotyped boundaries) onto sequence diagrams, it is almost impossible to move or resize them since the hit-testing algorithm seems to always pick up the objects behind.

Hi Ola,

Objects displayed in EA are "layered" one behind the other.  This is why you get the effect you are describing.  If you select the iteration boundary and then click on the button on the bottom toolbar to bring this to the front - all of your hits will pick the iteration boundary.

Regards,

Fintan