mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
66 stars 20 forks source link

Focus the created Spot of AddSpotAndLinkIt behaviour directly, when it is created #297

Closed stefanhahmann closed 1 month ago

stefanhahmann commented 3 months ago

I tried to find the reason for #295.

I found a potential solution. With the changes of this PR the described bug cannot be reproduced anymore. Big disclaimer: I am quite unsure about potential side effects of this change.

Also: https://github.com/mastodon-sc/mastodon/blob/373a2a95901c0d496a18a78b4a5ee37ada822a7b/src/main/java/org/mastodon/views/bdv/overlay/EditSpecialBehaviours.java#L525 may be removed after this change. This as well I am unsure about.